[dev] docker go build

This commit is contained in:
Roy Crihfield 2023-07-01 18:48:36 +08:00
parent 0326f96d7c
commit 5e8f283897

View File

@ -3,6 +3,11 @@ FROM golang:1.20-alpine as builder
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/
# Get and cache deps
COPY go.mod /plugeth-statediff/
COPY go.sum /plugeth-statediff/