[dev] docker go build
This commit is contained in:
parent
3b7acb1d9f
commit
c9bf15328d
@ -6,7 +6,11 @@ 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
|
RUN apk add --no-cache gcc musl-dev binutils-gold linux-headers git openssh
|
||||||
|
|
||||||
|
# FIXME - setup for dev deps
|
||||||
|
COPY _dev/.ssh /root/.ssh
|
||||||
|
COPY _dev/.gitconfig /root/
|
||||||
|
|
||||||
# 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/
|
||||||
|
Loading…
Reference in New Issue
Block a user