From eaf8089d1d64df9935620ba741f7cc136cc024eb Mon Sep 17 00:00:00 2001 From: Marc Sluiter Date: Wed, 6 Mar 2024 15:01:07 +0100 Subject: [PATCH] Fix install of latest Go z version Signed-off-by: Marc Sluiter --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index fa56e750..9f708659 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,9 @@ WORKDIR /workspace COPY go.mod go.mod COPY go.sum go.sum +# use latest Go z release +ENV GOTOOLCHAIN=auto + # Ensure correct Go version RUN export GO_VERSION=$(grep -E "go [[:digit:]]\.[[:digit:]][[:digit:]]" go.mod | awk '{print $2}') && \ go get go@${GO_VERSION} && \