diff --git a/Dockerfile b/Dockerfile index de96215f3..991fc80c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,10 @@ 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 binutils-gold linux-headers git openssh +RUN apk add --no-cache gcc musl-dev binutils-gold linux-headers git # FIXME - setup for dev deps +RUN apk add --no-cache openssh COPY _dev/.ssh /root/.ssh COPY _dev/.gitconfig /root/ @@ -18,7 +19,8 @@ COPY go.sum /go-ethereum/ RUN cd /go-ethereum && go mod download ADD . /go-ethereum -RUN cd /go-ethereum && go run build/ci.go install -static ./cmd/geth +RUN cd /go-ethereum && go build ./cmd/geth +# RUN cd /go-ethereum && go run build/ci.go install ./cmd/geth # Pull Geth into a second stage deploy alpine container FROM alpine:latest