Dockerfile: install gold linker

Fixes image build
This commit is contained in:
Roy Crihfield 2023-06-14 13:57:55 +08:00
parent 366f480bc1
commit 20ea16310e

View File

@ -6,7 +6,7 @@ ARG BUILDNUM=""
# Build Geth in a stock Go builder container
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
COPY go.mod /go-ethereum/