parent
caa67fee49
commit
3bfd860086
|
|
@ -0,0 +1,26 @@
|
|||
FROM bitnami/oraclelinux-extras:7-r12 as buildenv
|
||||
|
||||
RUN install_packages ca-certificates wget
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/oauth2-proxy-2.2.0-0-linux-x86_64-ol-7.tar.gz && \
|
||||
echo "9a55c32b003a66449e3629c85b9c2c2f0a0f8c2ec9c8f1a6d05c19bca8021dd7 /tmp/bitnami/pkg/cache/oauth2-proxy-2.2.0-0-linux-x86_64-ol-7.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/oauth2-proxy-2.2.0-0-linux-x86_64-ol-7.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/oauth2-proxy-2.2.0-0-linux-x86_64-ol-7.tar.gz
|
||||
|
||||
##################
|
||||
|
||||
FROM bitnami/oraclelinux-extras:7-r12
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
COPY --from=buildenv /opt/bitnami/oauth2-proxy /opt/bitnami/oauth2-proxy
|
||||
ENV BITNAMI_APP_NAME="oauth2-proxy" \
|
||||
BITNAMI_IMAGE_VERSION="2.2.0-ol-7-r0" \
|
||||
PATH="/opt/bitnami/oauth2-proxy/bin:$PATH"
|
||||
|
||||
RUN install_packages ca-certificates
|
||||
|
||||
EXPOSE 8080 4180
|
||||
|
||||
WORKDIR /opt/bitnami/oauth2-proxy
|
||||
USER 1001
|
||||
ENTRYPOINT ["oauth2_proxy"]
|
||||
CMD ["--upstream=http://0.0.0.0:8080/","--http-address=0.0.0.0:4180"]
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
version: '2'
|
||||
|
||||
services:
|
||||
oauth2-proxy:
|
||||
image: bitnami/oauth2-proxy:2-ol-7
|
||||
ports:
|
||||
- '8080:8080'
|
||||
- '4180:4180'
|
||||
|
|
@ -25,6 +25,7 @@ $ docker run --name oauth2-proxy bitnami/oauth2-proxy:latest
|
|||
# Supported tags and respective `Dockerfile` links
|
||||
|
||||
* [`2`, `2.2.0-r23`, `latest` (2/Dockerfile)](https://github.com/bitnami/bitnami-docker-oauth2-proxy/blob/2.2.0-r23/2/Dockerfile)
|
||||
* [`2-ol-7`, `2.2.0-ol-7-r0` (2/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-oauth2-proxy/blob/2.2.0-ol-7-r0/2/ol-7/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/oauth2-proxy GitHub repo](https://github.com/bitnami/bitnami-docker-oauth2-proxy).
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
environment:
|
||||
RELEASE_SERIES_LIST: "2"
|
||||
LATEST_STABLE: "2"
|
||||
DISTRIBUTIONS_LIST: "debian-8"
|
||||
DISTRIBUTIONS_LIST: "debian-8,ol-7"
|
||||
IMAGE_NAME: oauth2-proxy
|
||||
DOCKER_PROJECT: bitnami
|
||||
QUAY_PROJECT: bitnami
|
||||
|
|
|
|||
Loading…
Reference in New Issue