Skip to content

Commit

Permalink
Merge pull request #10 from Intellection/fix_no_certs_bug
Browse files Browse the repository at this point in the history
Fix no certs bug
  • Loading branch information
itskingori committed Sep 20, 2016
2 parents 676f2dd + d0be41d commit 37d9cd3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 2.1-2

* Fix 500 Internal Error Internal Error when sending POST to Google
APIs.

## 2.1-1

* Add SHA check of package.
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM alpine:3.4

ENV BUILD_PKGS="ca-certificates wget"
ENV APP_PKGS="ca-certificates"
ENV BUILD_PKGS="wget"

ENV OAUTH2_PROXY_VERSION="2.1"
ENV OAUTH2_PROXY_PKG="oauth2_proxy-${OAUTH2_PROXY_VERSION}.linux-amd64.go1.6" \
OAUTH2_PROXY_SHA="3061e5b04bd14eeb9ec0ad1c9b324ba8d99d50eaadc5f528cdf4d21043828298"
RUN apk update && \
apk upgrade && \
apk add $BUILD_PKGS && \
apk add $APP_PKGS $BUILD_PKGS && \
mkdir -p /var/tmp/oauth2_proxy && \
cd /var/tmp/oauth2_proxy && \
wget --progress=dot:mega https://github.com/bitly/oauth2_proxy/releases/download/v${OAUTH2_PROXY_VERSION}/${OAUTH2_PROXY_PKG}.tar.gz && \
Expand Down

0 comments on commit 37d9cd3

Please sign in to comment.