Skip to content

Commit 9b68884

Browse files
committed
Fix build container
1 parent 24a1022 commit 9b68884

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build-container/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ RUN apt-get -yq update && apt-get -yq install libssl-dev \
1212
RUN mkdir -p ~/.ssh && ssh-keyscan -t rsa github.com > ~/.ssh/known_hosts
1313
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
1414
ENV PATH /root/.cargo/bin:$PATH
15-
RUN cargo install rustfmt-nightly || true
15+
RUN rustup component add rustfmt-preview --toolchain=nightly
16+
RUN rustup update
17+
# RUN cargo install rustfmt-nightly || true
1618
CMD [/bin/bash]

0 commit comments

Comments
 (0)