From: Niklas Gruhn Date: Wed, 18 Jan 2023 18:08:19 +0000 (+0100) Subject: Use lastest 1.xx Rust version in Docker build X-Git-Tag: v0.9.2~233^2 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=f8e6e0252d7d7470be63e72abddac48d8eed4a44;p=scryer-prolog.git Use lastest 1.xx Rust version in Docker build With the previous Rust version 1.61, the build fails with > error[E0658]: use of unstable library feature 'scoped_threads' This has been "stabilized" in Rust 1.63. To avoid the hassle of manually updating the version, we can just default to the latest minor release. --- diff --git a/Dockerfile b/Dockerfile index 661ff5d0..0c1195ac 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # See https://github.com/LukeMathWalker/cargo-chef -ARG RUST_VERSION=1.61-buster +ARG RUST_VERSION=1-buster FROM rust:${RUST_VERSION} as planner WORKDIR /scryer-prolog RUN cargo install cargo-chef