From f8e6e0252d7d7470be63e72abddac48d8eed4a44 Mon Sep 17 00:00:00 2001 From: Niklas Gruhn Date: Wed, 18 Jan 2023 19:08:19 +0100 Subject: [PATCH] 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. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.54.0