mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-02-17 09:37:49 +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 \
|
set -x \
|
||||||
&& apk --no-cache add --repository https://dl-3.alpinelinux.org/alpine/edge/community $buildDeps \
|
&& 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 \
|
&& cd /go/src/github.com/bitly/oauth2_proxy \
|
||||||
&& git checkout "${OAUTH2_VERSION}" \
|
&& 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 \
|
&& go build \
|
||||||
&& mv oauth2_proxy /usr/bin/ \
|
&& mv oauth2_proxy /usr/bin/ \
|
||||||
&& apk del $buildDeps \
|
&& apk del $buildDeps \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user