modify dockerfile to have gmp

This commit is contained in:
Kevaundray Wedderburn 2025-07-11 00:09:00 +01:00
parent 1700df3c89
commit d6d73c2bc3

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.24-alpine AS builder FROM golang:1.24-alpine AS builder
RUN apk add --no-cache gcc musl-dev linux-headers git RUN apk add --no-cache gcc musl-dev linux-headers git gmp-dev gmp-static
# 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/