Skip to content
This repository was archived by the owner on Jun 21, 2020. It is now read-only.

Commit 1b60f72

Browse files
committed
MAINT: added an explicit download of rustfmt for the specific toolchain
1 parent 58b3d63 commit 1b60f72

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dockerfile/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ RUN apt-get update && \
1212
apt-get install -y --no-install-recommends libzmq3-dev clang \
1313
&& rm -rf /var/lib/apt/lists/*
1414

15-
ENV RUSTUP_TOOLCHAIN=nightly-2019-05-22
16-
1715
RUN /root/.cargo/bin/rustup target add wasm32-unknown-unknown && \
18-
/root/.cargo/bin/rustup component add rustfmt && \
16+
# remove the toolchain flag when we update to a new nightly version.
17+
/root/.cargo/bin/rustup component add rustfmt --toolchain nightly-2019-05-22-x86_64-unknown-linux-gnu && \
1918
/root/.cargo/bin/cargo install bindgen cargo-audit && \
2019
rm -rf /root/.cargo/registry && rm -rf /root/.cargo/git
2120

0 commit comments

Comments
 (0)