From 10349565b24c7381b53ffc6f0968960a928d9afb Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Mon, 25 May 2026 12:10:17 +0200 Subject: [PATCH] [bitnami/hyperledger-fabric-ca] Release 1.5.20-debian-12-r2 (#93973) Signed-off-by: Bitnami Bot --- .../1/debian-12/Dockerfile | 7 +++--- .../1/debian-12/docker-compose.yml | 8 +++++++ .../opt/bitnami/hyperledger-fabric-ca/run.sh | 23 +++++++++++++++++++ .../hyperledger-fabric-ca/docker-compose.yml | 8 +++++++ 4 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 bitnami/hyperledger-fabric-ca/1/debian-12/docker-compose.yml create mode 100755 bitnami/hyperledger-fabric-ca/1/debian-12/rootfs/opt/bitnami/hyperledger-fabric-ca/run.sh create mode 100644 bitnami/hyperledger-fabric-ca/docker-compose.yml diff --git a/bitnami/hyperledger-fabric-ca/1/debian-12/Dockerfile b/bitnami/hyperledger-fabric-ca/1/debian-12/Dockerfile index 66ab99a6b5f4..bab117dc3ea8 100644 --- a/bitnami/hyperledger-fabric-ca/1/debian-12/Dockerfile +++ b/bitnami/hyperledger-fabric-ca/1/debian-12/Dockerfile @@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith" ARG TARGETARCH LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2026-05-23T08:17:56Z" \ + org.opencontainers.image.created="2026-05-25T09:55:22Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/hyperledger-fabric-ca/README.md" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/hyperledger-fabric-ca" \ @@ -47,11 +47,12 @@ RUN mkdir -p /opt/bitnami/hyperledger-fabric-ca/etc && chmod g+rw /opt/bitnami/h RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true RUN uninstall_packages curl +COPY rootfs / ENV APP_VERSION="1.5.20" \ BITNAMI_APP_NAME="hyperledger-fabric-ca" \ FABRIC_CA_HOME="/opt/bitnami/hyperledger-fabric-ca/etc" \ - IMAGE_REVISION="1" \ + IMAGE_REVISION="2" \ PATH="/go/bin:/opt/bitnami/go/bin:/opt/bitnami/hyperledger-fabric-ca/bin:$PATH" USER 1001 -CMD [ "fabric-ca-server", "start", "-b", "admin:adminpw" ] +CMD [ "/opt/bitnami/hyperledger-fabric-ca/run.sh" ] diff --git a/bitnami/hyperledger-fabric-ca/1/debian-12/docker-compose.yml b/bitnami/hyperledger-fabric-ca/1/debian-12/docker-compose.yml new file mode 100644 index 000000000000..05ff29c52695 --- /dev/null +++ b/bitnami/hyperledger-fabric-ca/1/debian-12/docker-compose.yml @@ -0,0 +1,8 @@ +# Copyright Broadcom, Inc. All Rights Reserved. +# SPDX-License-Identifier: APACHE-2.0 + +services: + hyperledger-fabric-ca: + image: docker.io/bitnami/hyperledger-fabric-ca:1 + environment: + - FABRIC_CA_SERVER_BOOTSTRAP_USER_PASS=admin:adminpwd diff --git a/bitnami/hyperledger-fabric-ca/1/debian-12/rootfs/opt/bitnami/hyperledger-fabric-ca/run.sh b/bitnami/hyperledger-fabric-ca/1/debian-12/rootfs/opt/bitnami/hyperledger-fabric-ca/run.sh new file mode 100755 index 000000000000..5416e7c622f1 --- /dev/null +++ b/bitnami/hyperledger-fabric-ca/1/debian-12/rootfs/opt/bitnami/hyperledger-fabric-ca/run.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# Copyright Broadcom, Inc. All Rights Reserved. +# SPDX-License-Identifier: APACHE-2.0 + +# shellcheck disable=SC1090,SC1091 + +set -o errexit +set -o nounset +set -o pipefail + +if [[ -z "${FABRIC_CA_SERVER_BOOTSTRAP_USER_PASS:-}" ]]; then + echo "ERROR: FABRIC_CA_SERVER_BOOTSTRAP_USER_PASS is not set." >&2 + echo "Provide it as 'user:password' before starting the CA." >&2 + exit 1 +fi + +if [[ "${FABRIC_CA_SERVER_BOOTSTRAP_USER_PASS}" == "admin:adminpw" ]]; then + echo "ERROR: FABRIC_CA_SERVER_BOOTSTRAP_USER_PASS is set to the publicly known default 'admin:adminpw'." >&2 + echo "Choose a unique strong password before deploying." >&2 + exit 1 +fi + +exec fabric-ca-server start -b "${FABRIC_CA_SERVER_BOOTSTRAP_USER_PASS}" "$@" diff --git a/bitnami/hyperledger-fabric-ca/docker-compose.yml b/bitnami/hyperledger-fabric-ca/docker-compose.yml new file mode 100644 index 000000000000..05ff29c52695 --- /dev/null +++ b/bitnami/hyperledger-fabric-ca/docker-compose.yml @@ -0,0 +1,8 @@ +# Copyright Broadcom, Inc. All Rights Reserved. +# SPDX-License-Identifier: APACHE-2.0 + +services: + hyperledger-fabric-ca: + image: docker.io/bitnami/hyperledger-fabric-ca:1 + environment: + - FABRIC_CA_SERVER_BOOTSTRAP_USER_PASS=admin:adminpwd