Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hammertoe authored Mar 9, 2024
1 parent 3438e5a commit 5f65242
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ FROM rust:alpine as builder
WORKDIR /usr/src/fendermint
# Install dependencies required for the build
RUN apk add --no-cache clang musl-dev git curl jq bash \
&& git clone https://github.com/consensus-shipyard/fendermint.git . \
&& cargo install --force cargo-make

&& git clone https://github.com/consensus-shipyard/ipc.git \
&& cd ipc/contracts \
&& make gen \
&& cd .. \
&& cargo build --release

# Start with a new, clean base image to reduce size
FROM docker:cli
Expand Down

0 comments on commit 5f65242

Please sign in to comment.