@@ -5,11 +5,14 @@ RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.s
6# Copy sources
6# Copy sources
7WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy
7WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy
10# Fetch dependencies
9# Fetch dependencies
11RUN go mod download
11RUN go mod download
13+# Now pull in our code
13# Build binary and make sure there is at least an empty key file.
16# Build binary and make sure there is at least an empty key file.
14# This is useful for GCP App Engine custom runtime builds, because
17# This is useful for GCP App Engine custom runtime builds, because
15# you cannot use multiline variables in their app.yaml, so you have to
18# you cannot use multiline variables in their app.yaml, so you have to