Update other docker files
commitc98ff79aba40bd268887de6e09a9a54ec833b2e4
authorHenry Jenkins <henry@henryjenkins.name>
dateSat 13 Jul 2019, 22:12 (7 years ago)
parente245ef4
Dockerfile.arm64+1−3
@@ -1,8 +1,6 @@
11FROM golang:1.12-stretch AS builder
22
33# Download tools
4−RUN wget -O $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64
5−RUN chmod +x $GOPATH/bin/dep
64RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1
75
86# Copy sources
@@ -10,7 +8,7 @@ WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy
108COPY . .
119
1210# Fetch dependencies
13−RUN dep ensure --vendor-only
11+RUN go mod download
1412
1513# Build binary and make sure there is at least an empty key file.
1614# This is useful for GCP App Engine custom runtime builds, because
Dockerfile.armv6+1−3
@@ -1,8 +1,6 @@
11FROM golang:1.12-stretch AS builder
22
33# Download tools
4−RUN wget -O $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64
5−RUN chmod +x $GOPATH/bin/dep
64RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1
75
86# Copy sources
@@ -10,7 +8,7 @@ WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy
108COPY . .
119
1210# Fetch dependencies
13−RUN dep ensure --vendor-only
11+RUN go mod download
1412
1513# Build binary and make sure there is at least an empty key file.
1614# This is useful for GCP App Engine custom runtime builds, because