Skip to content

Commit

Permalink
update alpine builder images and run go mod download
Browse files Browse the repository at this point in the history
  • Loading branch information
rogarcia committed Nov 7, 2024
1 parent 704b1ab commit f6598dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@ ARG USER=$USER


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

RUN apk add --no-cache gcc musl-dev linux-headers git

COPY . /go-ethereum
WORKDIR /go-ethereum
RUN go mod download
RUN go run build/ci.go install -static ./cmd/geth

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

Check failure on line 19 in Dockerfile

View workflow job for this annotation

GitHub Actions / lint-dockerfile

DL3007 warning: Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag

RUN apk add --no-cache ca-certificates

Expand Down

0 comments on commit f6598dc

Please sign in to comment.