-
Notifications
You must be signed in to change notification settings - Fork 31
Can we bump Rust version in Dockerfile from 1.81 to 1.89? #107
Copy link
Copy link
Open
Description
Problem
Hi, I'm unable to build the Docker image using the current Dockerfile. The Docker build fails because the latest svm-rs (0.5.22) requires Rust 1.89, but the Dockerfile currently uses rust:1.81:
=> => transferring context: 355.94MB 2.2s
=> [build-environment 2/6] RUN apt-get update -y && apt-get install -y --no-insta 25.9s
=> ERROR [build-environment 3/6] RUN cargo install svm-rs && svm install 0.8.2 1.1s
------
> [build-environment 3/6] RUN cargo install svm-rs && svm install 0.8.24:
0.151 Updating crates.io index
1.047 error: cannot install package `svm-rs 0.5.22`, it requires rustc 1.89 or newer, while the currently active rustc version is 1.81.0
1.047 `svm-rs 0.5.17` supports rustc 1.81
------
3 warnings found (use docker --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 29)
- UndefinedVar: Usage of undefined variable '$TARGETARCH' (line 21)
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)
Dockerfile:14
--------------------
13 |
14 | >>> RUN cargo install svm-rs && \
15 | >>> svm install 0.8.24
16 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cargo install svm-rs && svm install 0.8.24" did not complete successfully: exit code: 101
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels