Remove branch 5 (#16)

This commit is contained in:
Francisco de Paz Galán
2021-02-18 18:17:04 +01:00
committed by GitHub
parent 970963112d
commit e0afd82c71
5 changed files with 0 additions and 71 deletions

View File

@@ -1,27 +0,0 @@
FROM docker.io/bitnami/minideb:buster
LABEL maintainer "Bitnami <containers@bitnami.com>"
ENV HOME="/" \
OS_ARCH="amd64" \
OS_FLAVOUR="debian-10" \
OS_NAME="linux"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl gzip procps tar wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/oauth2-proxy-5.1.1-3-linux-amd64-debian-10.tar.gz && \
echo "3f311324088ac93e63150f995d7d366a29ae729f6cc73b1ff6c05dc8477cabbe /tmp/bitnami/pkg/cache/oauth2-proxy-5.1.1-3-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/oauth2-proxy-5.1.1-3-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/oauth2-proxy-5.1.1-3-linux-amd64-debian-10.tar.gz
RUN chmod g+rwX /opt/bitnami
ENV BITNAMI_APP_NAME="oauth2-proxy" \
BITNAMI_IMAGE_VERSION="5.1.1-debian-10-r208" \
PATH="/opt/bitnami/oauth2-proxy/bin:$PATH"
EXPOSE 4180 8080
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" ]

View File

@@ -1,8 +0,0 @@
version: '2'
services:
oauth2-proxy:
image: docker.io/bitnami/oauth2-proxy:5-debian-10
ports:
- '8080:8080'
- '4180:4180'

View File

@@ -1,9 +0,0 @@
{
"oauth2-proxy": {
"arch": "amd64",
"digest": "3f311324088ac93e63150f995d7d366a29ae729f6cc73b1ff6c05dc8477cabbe",
"distro": "debian-10",
"type": "NAMI",
"version": "5.1.1-3"
}
}

View File

@@ -1,3 +0,0 @@
Bitnami containers ship with software bundles. You can find the licenses under:
/opt/bitnami/nami/COPYING
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt

View File

@@ -1,24 +0,0 @@
#!/bin/sh
set -e
set -u
export DEBIAN_FRONTEND=noninteractive
n=0
max=2
until [ $n -gt $max ]; do
set +e
(
apt-get update -qq &&
apt-get install -y --no-install-recommends "$@"
)
CODE=$?
set -e
if [ $CODE -eq 0 ]; then
break
fi
if [ $n -eq $max ]; then
exit $CODE
fi
echo "apt failed, retrying"
n=$(($n + 1))
done
rm -r /var/lib/apt/lists /var/cache/apt/archives