Fix zcash-params Dockerfile build failure (#4235)

This commit is contained in:
teor 2022-04-28 21:55:36 +10:00 committed by GitHub
parent 7506655774
commit d021f50df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -18,12 +18,11 @@ RUN apt-get -qq update && \
libclang-dev \
clang \
ca-certificates \
cmake \
protobuf-compiler \
; \
rm -rf /var/lib/apt/lists/* /tmp/*
# Optimize builds. In particular, regenerate-stateful-test-disks.yml was reaching the
# GitHub Actions time limit (6 hours), so we needed to make it faster.
ENV RUSTFLAGS -O
ENV CARGO_HOME /app/.cargo/
# Build dependencies - this is the caching Docker layer!
RUN cargo chef cook --release --features enable-sentry --recipe-path recipe.json