mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
Final touches to Dockerfiles
This commit is contained in:
parent
0aa8feeb00
commit
57898e43e1
2 changed files with 7 additions and 2 deletions
|
|
@ -25,3 +25,5 @@ COPY --from=builder /bor/build/bin/bor /usr/local/bin/
|
|||
COPY --from=builder /bor/build/bin/bootnode /usr/local/bin/
|
||||
|
||||
EXPOSE 8545 8546 8547 30303 30303/udp
|
||||
|
||||
ENTRYPOINT ["bor"]
|
||||
|
|
|
|||
|
|
@ -9,7 +9,10 @@ RUN cd /bor && make bor-all
|
|||
# Pull all binaries into a second stage deploy alpine container
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache ca-certificates
|
||||
RUN set -x \
|
||||
&& apk add --update --no-cache \
|
||||
ca-certificates \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
COPY --from=builder /bor/build/bin/* /usr/local/bin/
|
||||
|
||||
EXPOSE 8545 8546 30303 30303/udp
|
||||
EXPOSE 8545 8546 30303 30303/udp
|
||||
|
|
|
|||
Loading…
Reference in a new issue