Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarof2 committed Oct 23, 2024
1 parent 735566b commit 6d40179
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.bootnode
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG COMMIT=""
ARG VERSION=""
ARG BUILDNUM=""

# Build Geth in a stock Go builder container
# Build Geth bootnode in a stock Go builder container
FROM golang:1.22-alpine as builder

RUN apk add --no-cache gcc musl-dev linux-headers git
Expand All @@ -16,14 +16,14 @@ RUN cd /go-ethereum && go mod download
ADD . /go-ethereum
RUN cd /go-ethereum && go run build/ci.go install -static ./cmd/bootnode

# Pull Geth into a second stage deploy alpine container
# Pull Geth bootnode into a second stage deploy alpine container
FROM alpine:latest

RUN apk add --no-cache ca-certificates
COPY --from=builder /go-ethereum/build/bin/bootnode /usr/local/bin/

EXPOSE 8545 8546 30303 30303/udp
ENTRYPOINT ["geth"]
ENTRYPOINT ["bootnode"]

# Add some metadata labels to help programmatic image consumption
ARG COMMIT=""
Expand Down

0 comments on commit 6d40179

Please sign in to comment.