Dockerfile: use GOTOOLCHAIN=local

This may find its way into the official images, but until it does, let's
make sure we don't get unexpected updates of go.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2023-09-26 12:43:38 +02:00
parent 8d1ddffb83
commit e9759cee69
5 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,7 @@
ARG GO_VERSION=1.20.8
FROM golang:${GO_VERSION}-alpine AS generated
ENV GOTOOLCHAIN=local
RUN go install github.com/dmcgowan/quicktls@master
WORKDIR /tmp/gencerts/notary
RUN --mount=type=bind,source=e2e/testdata/notary,target=/tmp/gencerts/notary,rw <<EOT