We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 676f2dd commit 38f2302Copy full SHA for 38f2302
Dockerfile
@@ -1,13 +1,14 @@
1
FROM alpine:3.4
2
3
-ENV BUILD_PKGS="ca-certificates wget"
+ENV APP_PKGS="ca-certificates"
4
+ENV BUILD_PKGS="wget"
5
6
ENV OAUTH2_PROXY_VERSION="2.1"
7
ENV OAUTH2_PROXY_PKG="oauth2_proxy-${OAUTH2_PROXY_VERSION}.linux-amd64.go1.6" \
8
OAUTH2_PROXY_SHA="3061e5b04bd14eeb9ec0ad1c9b324ba8d99d50eaadc5f528cdf4d21043828298"
9
RUN apk update && \
10
apk upgrade && \
- apk add $BUILD_PKGS && \
11
+ apk add $APP_PKGS $BUILD_PKGS && \
12
mkdir -p /var/tmp/oauth2_proxy && \
13
cd /var/tmp/oauth2_proxy && \
14
wget --progress=dot:mega https://github.com/bitly/oauth2_proxy/releases/download/v${OAUTH2_PROXY_VERSION}/${OAUTH2_PROXY_PKG}.tar.gz && \
0 commit comments