mirror of
https://github.com/bitnami/containers.git
synced 2026-03-16 06:49:12 +08:00
[bitnami/hyperledger-fabric-tools] Release 3.1.1-debian-12-r3 (#82016)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -8,10 +8,10 @@ ARG TARGETARCH
|
|||||||
|
|
||||||
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
|
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
|
||||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||||
org.opencontainers.image.created="2025-05-30T14:50:03Z" \
|
org.opencontainers.image.created="2025-06-06T00:48:45Z" \
|
||||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/hyperledger-fabric-tools/README.md" \
|
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/hyperledger-fabric-tools/README.md" \
|
||||||
org.opencontainers.image.ref.name="3.1.1-debian-12-r2" \
|
org.opencontainers.image.ref.name="3.1.1-debian-12-r3" \
|
||||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/hyperledger-fabric-tools" \
|
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/hyperledger-fabric-tools" \
|
||||||
org.opencontainers.image.title="hyperledger-fabric-tools" \
|
org.opencontainers.image.title="hyperledger-fabric-tools" \
|
||||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||||
@@ -28,8 +28,8 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
|
|||||||
RUN install_packages ca-certificates curl procps
|
RUN install_packages ca-certificates curl procps
|
||||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||||
COMPONENTS=( \
|
COMPONENTS=( \
|
||||||
"golang-1.24.3-0-linux-${OS_ARCH}-debian-12" \
|
"golang-1.24.4-1-linux-${OS_ARCH}-debian-12" \
|
||||||
"hyperledger-fabric-tools-3.1.1-0-linux-${OS_ARCH}-debian-12" \
|
"hyperledger-fabric-tools-3.1.1-1-linux-${OS_ARCH}-debian-12" \
|
||||||
) ; \
|
) ; \
|
||||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||||
@@ -45,6 +45,7 @@ RUN apt-get update && apt-get upgrade -y && \
|
|||||||
RUN chmod g+rwX /opt/bitnami
|
RUN chmod g+rwX /opt/bitnami
|
||||||
RUN mkdir /opt/bitnami/hyperledger-fabric-tools/var && chmod g+rw /opt/bitnami/hyperledger-fabric-tools/var && ln -s /opt/bitnami/hyperledger-fabric-tools/var /var/hyperledger && mkdir -p /etc/hyperledger && ln -s /opt/bitnami/hyperledger-fabric-tools/etc /etc/hyperledger/fabric && echo "hosts: files dns" > /etc/nsswitch.conf
|
RUN mkdir /opt/bitnami/hyperledger-fabric-tools/var && chmod g+rw /opt/bitnami/hyperledger-fabric-tools/var && ln -s /opt/bitnami/hyperledger-fabric-tools/var /var/hyperledger && mkdir -p /etc/hyperledger && ln -s /opt/bitnami/hyperledger-fabric-tools/etc /etc/hyperledger/fabric && echo "hosts: files dns" > /etc/nsswitch.conf
|
||||||
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
|
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
|
||||||
|
RUN uninstall_packages curl
|
||||||
|
|
||||||
ENV APP_VERSION="3.1.1" \
|
ENV APP_VERSION="3.1.1" \
|
||||||
BITNAMI_APP_NAME="hyperledger-fabric-tools" \
|
BITNAMI_APP_NAME="hyperledger-fabric-tools" \
|
||||||
|
|||||||
@@ -3,12 +3,12 @@
|
|||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-12",
|
"distro": "debian-12",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "1.24.3-0"
|
"version": "1.24.4-1"
|
||||||
},
|
},
|
||||||
"hyperledger-fabric-tools": {
|
"hyperledger-fabric-tools": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-12",
|
"distro": "debian-12",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "3.1.1-0"
|
"version": "3.1.1-1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# Copyright Broadcom, Inc. All Rights Reserved.
|
||||||
|
# SPDX-License-Identifier: APACHE-2.0
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
n=0
|
||||||
|
max=2
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
until [ $n -gt $max ]; do
|
||||||
|
set +e
|
||||||
|
(
|
||||||
|
apt-get autoremove --purge -y "$@"
|
||||||
|
)
|
||||||
|
CODE=$?
|
||||||
|
set -e
|
||||||
|
if [ $CODE -eq 0 ]; then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
if [ $n -eq $max ]; then
|
||||||
|
exit $CODE
|
||||||
|
fi
|
||||||
|
echo "apt failed, retrying"
|
||||||
|
n=$(($n + 1))
|
||||||
|
done
|
||||||
|
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||||
Reference in New Issue
Block a user