mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 14:22:40 +01:00
update oauth2 proxy;
Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
This commit is contained in:
@@ -8,15 +8,15 @@ RUN apk --no-cache add \
|
||||
ENV PATH /go/bin:/usr/local/go/bin:$PATH
|
||||
ENV GOPATH /go
|
||||
|
||||
ENV OAUTH2_PROXY_VERSION v2.2
|
||||
ENV OAUTH2_PROXY_VERSION v3.1.0
|
||||
|
||||
RUN go get github.com/bitly/oauth2_proxy || true \
|
||||
&& cd /go/src/github.com/bitly/oauth2_proxy \
|
||||
&& git checkout "${OAUTH2_VERSION}" \
|
||||
&& go get -d github.com/bitly/oauth2_proxy || true \
|
||||
&& go get gopkg.in/fsnotify/fsnotify.v1 \
|
||||
&& mv "${GOPATH}/src/gopkg.in/fsnotify/fsnotify.v1" "${GOPATH}/src/gopkg.in/fsnotify.v1" \
|
||||
&& go build \
|
||||
RUN go get github.com/golang/dep/cmd/dep
|
||||
|
||||
RUN go get github.com/pusher/oauth2_proxy || true \
|
||||
&& cd /go/src/github.com/pusher/oauth2_proxy \
|
||||
&& git checkout "${OAUTH2_PROXY_VERSION}" \
|
||||
&& dep ensure --vendor-only \
|
||||
&& go build . \
|
||||
&& mv oauth2_proxy /usr/bin/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user