File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,14 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
12
12
libsass-dev \
13
13
libssl-dev
14
14
15
- # Install the currently pinned toolchain with rustup
16
- COPY rust-toolchain /tmp/
15
+ # Install the Rust toolchain with rustup
17
16
ENV RUSTUP_VERSION="1.24.3"
18
17
ENV RUSTUP_TRIPLE="x86_64-unknown-linux-gnu"
19
18
ENV RUSTUP_SHA="3dc5ef50861ee18657f9db2eeb7392f9c2a6c95c90ab41e45ab4ca71476b4338"
20
19
RUN curl "https://static.rust-lang.org/rustup/archive/${RUSTUP_VERSION}/${RUSTUP_TRIPLE}/rustup-init" >/tmp/rustup-init && \
21
20
echo "${RUSTUP_SHA} /tmp/rustup-init" | sha256sum --check && \
22
21
chmod +x /tmp/rustup-init && \
23
- /tmp/rustup-init -y --no-modify-path --default-toolchain $(cat /tmp/rust-toolchain)
22
+ /tmp/rustup-init -y --no-modify-path
24
23
ENV PATH=/root/.cargo/bin:$PATH
25
24
26
25
WORKDIR /build
You can’t perform that action at this time.
0 commit comments