Skip to content

Commit

Permalink
fix(ci): make lotus-devnet image(for devnet checks) slimmer
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 committed Feb 20, 2024
1 parent 626fbb0 commit ab7dd00
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/devnet/lotus.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ RUN CGO_CFLAGS_ALLOW="-D__BLST_PORTABLE__" \
CGO_CFLAGS="-D__BLST_PORTABLE__" \
make 2k

RUN strip lotus*

FROM ubuntu:22.04

# Needed for the healthcheck
Expand All @@ -33,4 +35,7 @@ COPY --from=lotus-builder /lotus/lotus /lotus/lotus-miner /lotus/lotus-seed /usr

WORKDIR /lotus

# Basic verification of dynamically linked dependencies
RUN lotus -v

CMD ["/bin/bash"]

0 comments on commit ab7dd00

Please sign in to comment.