Skip to content

Commit

Permalink
test(ghcr-rust-compiler): fix image build - anstream v0.5.0 cannot be…
Browse files Browse the repository at this point in the history
… built

1. Upgraded the rust version of the image to v1.72.0 - short term fix
2. The longer term fix is that I locked down the version of wasm-pack to
the current latest stable (v0.12.1) so that the auto-upgrade
doesn't bite is again like this where the newer wasm-pack
starts demanding a newer rust compiler which we don't
have because we are pinning to a specific version through
the image tag that's being used.

Fixes hyperledger-cacti#2641

Signed-off-by: Peter Somogyvari <[email protected]>
  • Loading branch information
petermetz committed Aug 29, 2023
1 parent bd3c865 commit 5e4d49c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/docker/rust-compiler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM rust:1.68.0-slim-bullseye
FROM rust:1.72.0-slim-bullseye

RUN apt update

# wasm-pack dependencies+install
RUN apt install -y build-essential pkg-config libssl-dev
RUN cargo install wasm-pack
RUN cargo install --version=0.12.1 wasm-pack

0 comments on commit 5e4d49c

Please sign in to comment.