mirror of
https://github.com/bitnami/containers.git
synced 2026-10-18 01:28:47 +02:00
[bitnami/hyperledger-fabric-ca] Release 1.5.20-debian-12-r2 (#93973)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -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" ]
|
||||
|
||||
@@ -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
|
||||
Executable
+23
@@ -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}" "$@"
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user