dockerfile fixes
This commit is contained in:
parent
016a45dc98
commit
1b8842859a
@ -6,9 +6,10 @@ 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 binutils-gold linux-headers git openssh
|
RUN apk add --no-cache gcc musl-dev binutils-gold linux-headers git
|
||||||
|
|
||||||
# FIXME - setup for dev deps
|
# FIXME - setup for dev deps
|
||||||
|
RUN apk add --no-cache openssh
|
||||||
COPY _dev/.ssh /root/.ssh
|
COPY _dev/.ssh /root/.ssh
|
||||||
COPY _dev/.gitconfig /root/
|
COPY _dev/.gitconfig /root/
|
||||||
|
|
||||||
@ -18,7 +19,8 @@ COPY go.sum /go-ethereum/
|
|||||||
RUN cd /go-ethereum && go mod download
|
RUN cd /go-ethereum && go mod download
|
||||||
|
|
||||||
ADD . /go-ethereum
|
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
|
# Pull Geth into a second stage deploy alpine container
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user