File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM --platform=$BUILDPLATFORM ubuntu:24.04@sha256:d1e2e92c075e5ca139d51a140fff46f84315c0fdce203eab2807c7e495eff4f9 AS build
22
33ARG UBUNTU_SNAPSHOT=20260301T000000Z
4- ARG RUSTUP_VERSION=1.28.1
4+ ARG RUSTUP_VERSION=1.29.2
55
66ENV HOME="/root"
77WORKDIR $HOME
Original file line number Diff line number Diff line change @@ -17,7 +17,13 @@ RUN apt-get update \
1717 python3-venv \
1818 && apt-get clean \
1919 && rm -rf /var/lib/apt/lists/*
20- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
20+ ARG RUSTUP_VERSION=1.29.2
21+ RUN curl --proto '=https' --tlsv1.2 -sSf \
22+ "https://static.rust-lang.org/rustup/archive/${RUSTUP_VERSION}/$(uname -m)-unknown-linux-gnu/rustup-init" \
23+ -o rustup-init \
24+ && chmod +x rustup-init \
25+ && ./rustup-init -y \
26+ && rm rustup-init
2127ENV HOME="/root"
2228WORKDIR /app
2329RUN python3 -m venv $HOME/venv-docker
Original file line number Diff line number Diff line change @@ -35,8 +35,13 @@ RUN apt install -y --update ca-certificates && \
3535 && rm -rf /var/lib/apt/lists/*
3636
3737# Install Rust nightly toolchain with Windows targets
38- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
39- sh -s -- -y --default-toolchain=${RUST_NIGHTLY} --profile=minimal
38+ ARG RUSTUP_VERSION=1.29.2
39+ RUN curl --proto '=https' --tlsv1.2 -sSf \
40+ "https://static.rust-lang.org/rustup/archive/${RUSTUP_VERSION}/$(uname -m)-unknown-linux-gnu/rustup-init" \
41+ -o rustup-init \
42+ && chmod +x rustup-init \
43+ && ./rustup-init -y --default-toolchain=${RUST_NIGHTLY} --profile=minimal \
44+ && rm rustup-init
4045
4146ENV PATH="${CARGO_HOME}/bin:${PATH}"
4247
You can’t perform that action at this time.
0 commit comments