Ensure gomodules are used when downloading
commit03f218a63c36def6b7428f8cbc0d333c8f3cc9ac
authorHenry Jenkins <henry@henryjenkins.name>
dateMon 15 Jul 2019, 21:49 (7 years ago)
parentbc81a0f
Dockerfile+1−1
@@ -8,7 +8,7 @@ WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy
88
99# Fetch dependencies
1010COPY go.mod go.sum ./
11−RUN go mod download
11+RUN GO111MODULE=on go mod download
1212
1313# Now pull in our code
1414COPY . .
Dockerfile.arm64+1−1
@@ -8,7 +8,7 @@ WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy
88
99# Fetch dependencies
1010COPY go.mod go.sum ./
11−RUN go mod download
11+RUN GO111MODULE=on go mod download
1212
1313# Now pull in our code
1414COPY . .
Dockerfile.armv6+1−1
@@ -8,7 +8,7 @@ WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy
88
99# Fetch dependencies
1010COPY go.mod go.sum ./
11−RUN go mod download
11+RUN GO111MODULE=on go mod download
1212
1313# Now pull in our code
1414COPY . .