@@ -1,5 +1,4 @@
1FROM golang:1.16-buster AS builder
1FROM golang:1.16-buster AS builder
4# Copy sources
3# Copy sources
5WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy
4WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy
@@ -11,6 +10,8 @@ RUN GO111MODULE=on go mod download
11# Now pull in our code
10# Now pull in our code
14# Build binary and make sure there is at least an empty key file.
15# Build binary and make sure there is at least an empty key file.
15# This is useful for GCP App Engine custom runtime builds, because
16# This is useful for GCP App Engine custom runtime builds, because
16# you cannot use multiline variables in their app.yaml, so you have to
17# you cannot use multiline variables in their app.yaml, so you have to