diff --git a/bitnami/rabbitmq-cluster-operator/1/scratch/Dockerfile b/bitnami/rabbitmq-cluster-operator/1/scratch/Dockerfile index 4aac6e30eb06..e64878850996 100644 --- a/bitnami/rabbitmq-cluster-operator/1/scratch/Dockerfile +++ b/bitnami/rabbitmq-cluster-operator/1/scratch/Dockerfile @@ -1,7 +1,24 @@ -FROM scratch +FROM bitnami/minideb:bullseye as builder + COPY prebuildfs / +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +# Install required system packages and dependencies +RUN install_packages ca-certificates gzip tar wget +RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/rabbitmq-cluster-operator-1.14.0-0-linux-amd64-debian-11.tar.gz && \ + echo "35e05ec6f456c96da3107a806bd63c27874d4c1e426bc1b6e6ea1f8bd99443df /tmp/bitnami/pkg/cache/rabbitmq-cluster-operator-1.14.0-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ + tar -zxf /tmp/bitnami/pkg/cache/rabbitmq-cluster-operator-1.14.0-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \ + rm -rf /tmp/bitnami/pkg/cache/rabbitmq-cluster-operator-1.14.0-0-linux-amd64-debian-11.tar.gz + +###### + +FROM scratch + +COPY prebuildfs / COPY rootfs / +COPY --from=builder /opt/bitnami/rabbitmq-cluster-operator/bin/manager /manager USER 1001 + ENTRYPOINT [ "/manager" ] diff --git a/bitnami/rabbitmq-cluster-operator/1/scratch/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/rabbitmq-cluster-operator/1/scratch/prebuildfs/opt/bitnami/.bitnami_components.json index e0867dd92a8a..9409c9ec88c2 100644 --- a/bitnami/rabbitmq-cluster-operator/1/scratch/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/rabbitmq-cluster-operator/1/scratch/prebuildfs/opt/bitnami/.bitnami_components.json @@ -1,7 +1,9 @@ { "rabbitmq-cluster-operator": { - "digest": "951e2f663012ff2d8d29ed3418a0cdc00f1c95e2818f284ee8000b0651dc705f", - "type": "BLACKSMITH", - "version": "1.14.0" + "arch": "amd64", + "digest": "35e05ec6f456c96da3107a806bd63c27874d4c1e426bc1b6e6ea1f8bd99443df", + "distro": "debian-11", + "type": "NAMI", + "version": "1.14.0-0" } } \ No newline at end of file diff --git a/bitnami/rabbitmq-cluster-operator/README.md b/bitnami/rabbitmq-cluster-operator/README.md index 61648e1cf089..4ab978b1f62a 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-r0`, `latest` (1/scratch/Dockerfile)](https://github.com/bitnami/bitnami-docker-rabbitmq-cluster-operator/blob/1.14.0-scratch-r0/1/scratch/Dockerfile) +- [`1`, `1-scratch`, `1.14.0`, `1.14.0-scratch-r1`, `latest` (1/scratch/Dockerfile)](https://github.com/bitnami/bitnami-docker-rabbitmq-cluster-operator/blob/1.14.0-scratch-r1/1/scratch/Dockerfile) Subscribe to project updates by watching the [bitnami/rabbitmq-cluster-operator GitHub repo](https://github.com/bitnami/bitnami-docker-rabbitmq-cluster-operator).