Skip to content

Commit 2befc10

Browse files
committed
Do not remove the default toolchain
Rustup no longer installs missing toolchains automatically.
1 parent e01d9e9 commit 2befc10

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

local/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-$(arch).zip" -o "awscliv
3030

3131
# Install rustup while removing the pre-installed stable toolchain.
3232
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
33-
sh -s -- -y --no-modify-path --profile minimal --default-toolchain stable && \
34-
/root/.cargo/bin/rustup toolchain remove stable
33+
sh -s -- -y --no-modify-path --profile minimal --default-toolchain stable
3534
ENV PATH=/root/.cargo/bin:$PATH
3635

3736
COPY --from=mc /usr/bin/mc /usr/local/bin/mc

0 commit comments

Comments
 (0)