Skip to content

Commit

Permalink
[fix] hyperledger#2170: Fixes build in docker container on M1 machines
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Pesterev <pesterev@pm.me>
  • Loading branch information
pesterev committed May 19, 2022
1 parent c7c7fa9 commit bb36b47
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ RUN set -ex; \
rm /tmp/*.sh

RUN set -ex; \
rustup install --profile default nightly-2022-04-20; \
rustup toolchain install --profile default nightly-2022-04-20; \
rustup target add wasm32-unknown-unknown; \
rustup component add rust-src --toolchain nightly-2022-04-20-x86_64-unknown-linux-gnu

rustup component add rust-src

FROM rust-base as cargo-chef
RUN cargo install cargo-chef
Expand Down

0 comments on commit bb36b47

Please sign in to comment.