We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 311279f commit 0179778Copy full SHA for 0179778
Dockerfile
@@ -10,8 +10,16 @@ RUN set -eux; apk add --no-cache \
10
bash \
11
binutils-gold \
12
wget \
13
- rust \
14
- cargo
+ curl
+
15
+# Install Rust via rustup (for latest stable version with edition2024 support)
16
+ENV RUSTUP_HOME=/usr/local/rustup \
17
+ CARGO_HOME=/usr/local/cargo \
18
+ PATH=/usr/local/cargo/bin:$PATH
19
20
+RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal && \
21
+ rustc --version && \
22
+ cargo --version
23
24
WORKDIR /code
25
0 commit comments