From c9079e0a40b24a9d6275d06a886811fbbeae80d2 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 9 Sep 2022 11:24:40 +0200 Subject: [PATCH] [bitnami/rabbitmq-cluster-operator] Release 1.14.0-scratch-r7 (#5878) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- .../1/scratch/Dockerfile | 22 ++++++++++++++----- bitnami/rabbitmq-cluster-operator/README.md | 2 +- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/bitnami/rabbitmq-cluster-operator/1/scratch/Dockerfile b/bitnami/rabbitmq-cluster-operator/1/scratch/Dockerfile index 204a5ac75995..546911e75feb 100644 --- a/bitnami/rabbitmq-cluster-operator/1/scratch/Dockerfile +++ b/bitnami/rabbitmq-cluster-operator/1/scratch/Dockerfile @@ -1,5 +1,9 @@ FROM bitnami/minideb:bullseye as builder +ARG TARGETARCH + +ENV OS_ARCH="${TARGETARCH:-amd64}" + COPY prebuildfs / SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -7,24 +11,30 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages ca-certificates curl gzip tar RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f rabbitmq-cluster-operator-1.14.0-3-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/rabbitmq-cluster-operator-1.14.0-3-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f rabbitmq-cluster-operator-1.14.0-3-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/rabbitmq-cluster-operator-1.14.0-3-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/rabbitmq-cluster-operator-1.14.0-3-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "f6148b1ae97eb22eae7d18c8b8c1e9b0e2aab3e730ebdd945e9ee6bfd7c44f1f rabbitmq-cluster-operator-1.14.0-3-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf rabbitmq-cluster-operator-1.14.0-3-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --wildcards '*/files' && \ - rm -rf rabbitmq-cluster-operator-1.14.0-3-linux-amd64-debian-11.tar.gz + sha256sum -c rabbitmq-cluster-operator-1.14.0-3-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf rabbitmq-cluster-operator-1.14.0-3-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf rabbitmq-cluster-operator-1.14.0-3-linux-${OS_ARCH}-debian-11.tar.gz ###### FROM scratch +ARG TARGETARCH + +ENV OS_ARCH="${TARGETARCH:-amd64}" + LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ - org.opencontainers.image.ref.name="1.14.0-scratch-r6" \ + org.opencontainers.image.ref.name="1.14.0-scratch-r7" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/rabbitmq-cluster-operator" \ org.opencontainers.image.title="rabbitmq-cluster-operator" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="1.14.0" + COPY prebuildfs / COPY rootfs / COPY --from=builder /opt/bitnami/rabbitmq-cluster-operator/bin/manager /manager diff --git a/bitnami/rabbitmq-cluster-operator/README.md b/bitnami/rabbitmq-cluster-operator/README.md index bbcff573e2a8..895ff34130cb 100644 --- a/bitnami/rabbitmq-cluster-operator/README.md +++ b/bitnami/rabbitmq-cluster-operator/README.md @@ -28,7 +28,7 @@ $ docker run --name rabbitmq-cluster-operator bitnami/rabbitmq-cluster-operator: 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/). -- [`1`, `1-scratch`, `1.14.0`, `1.14.0-scratch-r6`, `latest` (1/scratch/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/rabbitmq-cluster-operator/1/scratch/Dockerfile) +- [`1`, `1-scratch`, `1.14.0`, `1.14.0-scratch-r7`, `latest` (1/scratch/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/rabbitmq-cluster-operator/1/scratch/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).