From 4c82991549ecd115ade359b00f5da446e8b11fd9 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 7 Sep 2022 11:21:00 +0200 Subject: [PATCH] [bitnami/dex] Release 2.33.0-debian-11-r14 (#5425) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/dex/2/debian-11/Dockerfile | 24 ++++++++++++++---------- bitnami/dex/README.md | 2 +- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/bitnami/dex/2/debian-11/Dockerfile b/bitnami/dex/2/debian-11/Dockerfile index 9e47c39668a2..eba6198d9e9a 100644 --- a/bitnami/dex/2/debian-11/Dockerfile +++ b/bitnami/dex/2/debian-11/Dockerfile @@ -1,28 +1,32 @@ FROM docker.io/bitnami/minideb:bullseye -ENV HOME="/" \ - OS_ARCH="amd64" \ - OS_FLAVOUR="debian-11" \ - OS_NAME="linux" + +ARG TARGETARCH LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ - org.opencontainers.image.ref.name="2.33.0-debian-11-r13" \ + org.opencontainers.image.ref.name="2.33.0-debian-11-r14" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/dex" \ org.opencontainers.image.title="dex" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="2.33.0" +ENV HOME="/" \ + OS_ARCH="${TARGETARCH:-amd64}" \ + OS_FLAVOUR="debian-11" \ + OS_NAME="linux" + COPY prebuildfs / SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages ca-certificates curl gzip procps tar RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f dex-2.33.0-2-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/dex-2.33.0-2-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f dex-2.33.0-2-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/dex-2.33.0-2-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/dex-2.33.0-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "8aafef1cf3a7e51708a23ab6593cb4c02060faaf2fd6672f24dfe30ea22fc1ab dex-2.33.0-2-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf dex-2.33.0-2-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf dex-2.33.0-2-linux-amd64-debian-11.tar.gz + sha256sum -c dex-2.33.0-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf dex-2.33.0-2-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf dex-2.33.0-2-linux-${OS_ARCH}-debian-11.tar.gz RUN apt-get update && apt-get upgrade -y && \ rm -r /var/lib/apt/lists /var/cache/apt/archives RUN useradd -r -u 1001 -g root dex diff --git a/bitnami/dex/README.md b/bitnami/dex/README.md index b287e60e7408..8c769f3cf225 100644 --- a/bitnami/dex/README.md +++ b/bitnami/dex/README.md @@ -35,7 +35,7 @@ $ docker-compose up -d Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`2`, `2-debian-11`, `2.33.0`, `2.33.0-debian-11-r13`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/dex/2/debian-11/ Dockerfile) +* [`2`, `2-debian-11`, `2.33.0`, `2.33.0-debian-11-r14`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/dex/2/debian-11/ Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).