From 8e1c02746f19c06647e06e71975d28f7e02b1e59 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Fri, 23 Mar 2018 12:10:57 -0400 Subject: [PATCH] fix oauth2_proxy Signed-off-by: Jess Frazelle --- oauth2-proxy/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/oauth2-proxy/Dockerfile b/oauth2-proxy/Dockerfile index faa7ccd..01e2771 100644 --- a/oauth2-proxy/Dockerfile +++ b/oauth2-proxy/Dockerfile @@ -19,10 +19,12 @@ RUN buildDeps=' \ ' \ set -x \ && apk --no-cache add --repository https://dl-3.alpinelinux.org/alpine/edge/community $buildDeps \ - && go get github.com/bitly/oauth2_proxy \ + && 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 \ + && 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 \ && mv oauth2_proxy /usr/bin/ \ && apk del $buildDeps \