diff --git a/bitnami/kiam/4/debian-11/Dockerfile b/bitnami/kiam/4/debian-11/Dockerfile index 315c68794cde..d7b877857f31 100644 --- a/bitnami/kiam/4/debian-11/Dockerfile +++ b/bitnami/kiam/4/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="4.2.0-debian-11-r33" \ + org.opencontainers.image.ref.name="4.2.0-debian-11-r34" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/kiam" \ org.opencontainers.image.title="kiam" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="4.2.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 iptables procps tar RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f kiam-4.2.0-153-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/kiam-4.2.0-153-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f kiam-4.2.0-153-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/kiam-4.2.0-153-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/kiam-4.2.0-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "a4eaa63788d33842a41bc2d390858712f076baf4b4e29953ec4f0bc7d02930b8 kiam-4.2.0-153-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf kiam-4.2.0-153-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf kiam-4.2.0-153-linux-amd64-debian-11.tar.gz + sha256sum -c kiam-4.2.0-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf kiam-4.2.0-153-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf kiam-4.2.0-153-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 chmod g+rwX /opt/bitnami diff --git a/bitnami/kiam/README.md b/bitnami/kiam/README.md index 43a0d5a33f26..29e02078bf69 100644 --- a/bitnami/kiam/README.md +++ b/bitnami/kiam/README.md @@ -31,7 +31,7 @@ $ docker run --name Kiam bitnami/kiam:latest 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/). -* [`4`, `4-debian-11`, `4.2.0`, `4.2.0-debian-11-r33`, `latest` (4/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/kiam/4/debian-11/Dockerfile) +* [`4`, `4-debian-11`, `4.2.0`, `4.2.0-debian-11-r34`, `latest` (4/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/kiam/4/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).