From 57fe8ec9124cac825364a6970453e28ccae1462c Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Thu, 8 Sep 2022 12:45:31 +0200 Subject: [PATCH] [bitnami/harbor-exporter] Release 2.6.0-debian-11-r9 (#5589) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- .../harbor-exporter/2/debian-11/Dockerfile | 35 +++++++++++-------- bitnami/harbor-exporter/README.md | 2 +- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/bitnami/harbor-exporter/2/debian-11/Dockerfile b/bitnami/harbor-exporter/2/debian-11/Dockerfile index 8cccd67ecd2a..713cd8a1c247 100644 --- a/bitnami/harbor-exporter/2/debian-11/Dockerfile +++ b/bitnami/harbor-exporter/2/debian-11/Dockerfile @@ -1,35 +1,40 @@ 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.6.0-debian-11-r8" \ + org.opencontainers.image.ref.name="2.6.0-debian-11-r9" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/harbor-exporter" \ org.opencontainers.image.title="harbor-exporter" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="2.6.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 acl ca-certificates curl gzip libc6 procps tar RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f harbor-exporter-2.6.0-3-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/harbor-exporter-2.6.0-3-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f harbor-exporter-2.6.0-3-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/harbor-exporter-2.6.0-3-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/harbor-exporter-2.6.0-3-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "ebb89a997cab6b1753e05d0cac546dfca789b4409401b42cd55c1041aab63977 harbor-exporter-2.6.0-3-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf harbor-exporter-2.6.0-3-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf harbor-exporter-2.6.0-3-linux-amd64-debian-11.tar.gz + sha256sum -c harbor-exporter-2.6.0-3-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf harbor-exporter-2.6.0-3-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf harbor-exporter-2.6.0-3-linux-${OS_ARCH}-debian-11.tar.gz RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f gosu-1.14.0-154-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "e36c3d90f4fbfbe989f40947fa7c8ab817f12fcf97d3aef893c753a20ce976ab gosu-1.14.0-154-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf gosu-1.14.0-154-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf gosu-1.14.0-154-linux-amd64-debian-11.tar.gz + sha256sum -c gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf gosu-1.14.0-154-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf gosu-1.14.0-154-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/harbor-exporter/README.md b/bitnami/harbor-exporter/README.md index 6b77c7e4a463..4d4514779532 100644 --- a/bitnami/harbor-exporter/README.md +++ b/bitnami/harbor-exporter/README.md @@ -41,7 +41,7 @@ Non-root container images add an extra layer of security and are generally recom 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.6.0`, `2.6.0-debian-11-r8`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/harbor-exporter/2/debian-11/Dockerfile) +* [`2`, `2-debian-11`, `2.6.0`, `2.6.0-debian-11-r9`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/harbor-exporter/2/debian-11/Dockerfile) ## Configuration