mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-01-30 17:13:46 +01:00
update oauth2 proxy;
Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
This commit is contained in:
parent
01feb50dde
commit
86e66cdc21
|
@ -125,7 +125,7 @@ mitmproxy/mitmproxy
|
|||
hashicorp/nomad
|
||||
zeit/now-cli
|
||||
nzbget/nzbget
|
||||
bitly/oauth2_proxy
|
||||
pusher/oauth2_proxy
|
||||
facebook/osquery
|
||||
hashicorp/packer
|
||||
Tautulli/Tautulli
|
||||
|
|
|
@ -1,24 +1,32 @@
|
|||
FROM golang:1.10-alpine as builder
|
||||
FROM golang:1.10 as builder
|
||||
MAINTAINER Jessica Frazelle <jess@linux.com>
|
||||
|
||||
ENV PATH /go/bin:/usr/local/go/bin:$PATH
|
||||
ENV GOPATH /go
|
||||
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
RUN apt-get update && apt-get install -y \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
curl \
|
||||
--no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
||||
|
||||
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash -
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
gcc \
|
||||
git \
|
||||
g++ \
|
||||
libgcc \
|
||||
linux-headers \
|
||||
make \
|
||||
musl-dev \
|
||||
npm \
|
||||
nodejs \
|
||||
pkgconf \
|
||||
python2 \
|
||||
python \
|
||||
yarn \
|
||||
zip
|
||||
zip \
|
||||
--no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV NOMAD_VERSION v0.9.0-beta3
|
||||
|
||||
|
|
|
@ -8,15 +8,15 @@ RUN apk --no-cache add \
|
|||
ENV PATH /go/bin:/usr/local/go/bin:$PATH
|
||||
ENV GOPATH /go
|
||||
|
||||
ENV OAUTH2_PROXY_VERSION v2.2
|
||||
ENV OAUTH2_PROXY_VERSION v3.1.0
|
||||
|
||||
RUN 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 || true \
|
||||
&& go get gopkg.in/fsnotify/fsnotify.v1 \
|
||||
&& mv "${GOPATH}/src/gopkg.in/fsnotify/fsnotify.v1" "${GOPATH}/src/gopkg.in/fsnotify.v1" \
|
||||
&& go build \
|
||||
RUN go get github.com/golang/dep/cmd/dep
|
||||
|
||||
RUN go get github.com/pusher/oauth2_proxy || true \
|
||||
&& cd /go/src/github.com/pusher/oauth2_proxy \
|
||||
&& git checkout "${OAUTH2_PROXY_VERSION}" \
|
||||
&& dep ensure --vendor-only \
|
||||
&& go build . \
|
||||
&& mv oauth2_proxy /usr/bin/
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user