Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Dec 11, 2023
1 parent 61a2aba commit 3d9c9f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.fh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ADD . /go-ethereum
# For blst
ENV CGO_CFLAGS="-O -D__BLST_PORTABLE__"
ENV CGO_CFLAGS_ALLOW="-O -D__BLST_PORTABLE__"
RUN cd /go-ethereum && go run build/ci.go install -static ./cmd/geth
RUN cd /go-ethereum && make bor

# Pull Geth into a second stage deploy alpine container
FROM alpine:3.17
Expand All @@ -25,7 +25,7 @@ RUN apk add --no-cache $PACKAGES \

RUN echo "[ ! -z \"\$TERM\" -a -r /etc/motd ] && cat /etc/motd" >> /etc/bash/bashrc

COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
COPY --from=builder /go-ethereum/build/bin/bor /usr/local/bin/

ENV SHELL /bin/bash
EXPOSE 8545 8546 8547 30303 30303/udp

0 comments on commit 3d9c9f5

Please sign in to comment.