go-ethereum/build/bot/Dockerfile.linux
2022-09-29 00:16:31 +02:00

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