mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
fix oauth2_proxy
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
a1ce1ea497
commit
8e1c02746f
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue
Block a user