From 897c96b49e30fbf77b14e8c3084d7ebfd6d05332 Mon Sep 17 00:00:00 2001 From: Ben Firshman Date: Thu, 13 Oct 2016 11:17:25 +0200 Subject: [PATCH] Initial commit Thanks to https://github.com/bitly/oauth2_proxy/pull/86 --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9bb0c16 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM alpine:3.4 + +RUN apk add --no-cache --virtual .fetch-deps \ + ca-certificates \ + openssl \ + tar \ + && wget -O /oauth2_proxy.tar.gz https://github.com/bitly/oauth2_proxy/releases/download/v2.1/oauth2_proxy-2.1.linux-amd64.go1.6.tar.gz \ + && tar -xvzf /oauth2_proxy.tar.gz \ + && rm /oauth2_proxy.tar.gz \ + && apk del .fetch-deps + +ENTRYPOINT ["/oauth2_proxy"]