From 1b8842859af06b82fc51184c1cbfef14ccab87a4 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Fri, 16 Jun 2023 01:08:55 +0800 Subject: [PATCH] dockerfile fixes --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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