From f6598dc640b363ef5ba0199a33d2d02da37827b0 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Thu, 7 Nov 2024 09:37:34 -0800 Subject: [PATCH] update alpine builder images and run go mod download --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fc35e0213..9e6a58b85 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 RUN apk add --no-cache ca-certificates