mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
12 lines
No EOL
341 B
Docker
12 lines
No EOL
341 B
Docker
FROM golang:1.19.1
|
|
|
|
# The repo checkout is mounted to /source.
|
|
WORKDIR /source
|
|
|
|
# Prevent git error because the owner of /source does not exist in the Docker container.
|
|
RUN git config --global --add safe.directory /source
|
|
|
|
# Configure Go tool cache locations
|
|
ENV GOPATH=/cache/go
|
|
ENV GOCACHE=/cache/go/cache
|
|
ENV GOMODCACHE=/cache/go/modcache |