Update go version to 1.17

This includes the change to the pruned module graph with the converted go.mod for Go 1.17
https://go.dev/doc/go1.17#go-command
This commit is contained in:
polarctos
2021-12-17 16:51:13 +01:00
parent c278e0aa4e
commit 7eaf98b5fe
4 changed files with 50 additions and 6 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# cache sharing of the go mod download step.
# Go cross compilation is also faster than emulation the go compilation across
# multiple platforms.
FROM --platform=${BUILDPLATFORM} golang:1.16-buster AS builder
FROM --platform=${BUILDPLATFORM} golang:1.17-buster AS builder
# Copy sources
WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy