Dockerfile: install gold linker

Fixes image build
This commit is contained in:
Roy Crihfield 2023-06-14 13:57:55 +08:00
parent 6814eed657
commit 7f816cbd3f

View File

@ -6,7 +6,7 @@ ARG BUILDNUM=""
# Build Geth in a stock Go builder container # Build Geth in a stock Go builder container
FROM golang:1.20-alpine as builder FROM golang:1.20-alpine as builder
RUN apk add --no-cache gcc musl-dev linux-headers git RUN apk add --no-cache gcc musl-dev binutils-gold linux-headers git
# Get dependencies - will also be cached if we won't change go.mod/go.sum # Get dependencies - will also be cached if we won't change go.mod/go.sum
COPY go.mod /go-ethereum/ COPY go.mod /go-ethereum/