Skip to content

Commit 9ed278d

Browse files
committed
fix dockerfile
1 parent f13ef48 commit 9ed278d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
1212
libsass-dev \
1313
libssl-dev
1414

15-
# Install the currently pinned toolchain with rustup
16-
COPY rust-toolchain /tmp/
15+
# Install the Rust toolchain with rustup
1716
ENV RUSTUP_VERSION="1.24.3"
1817
ENV RUSTUP_TRIPLE="x86_64-unknown-linux-gnu"
1918
ENV RUSTUP_SHA="3dc5ef50861ee18657f9db2eeb7392f9c2a6c95c90ab41e45ab4ca71476b4338"
2019
RUN curl "https://static.rust-lang.org/rustup/archive/${RUSTUP_VERSION}/${RUSTUP_TRIPLE}/rustup-init" >/tmp/rustup-init && \
2120
echo "${RUSTUP_SHA} /tmp/rustup-init" | sha256sum --check && \
2221
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
2423
ENV PATH=/root/.cargo/bin:$PATH
2524

2625
WORKDIR /build

0 commit comments

Comments
 (0)