mirror of
https://github.com/bitnami/containers.git
synced 2026-02-10 21:27:26 +08:00
[bitnami/zookeeper] Release 3.9.3-debian-12-r18 (#82608)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -8,10 +8,9 @@ ARG TARGETARCH
|
||||
|
||||
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
|
||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2025-05-30T16:18:58Z" \
|
||||
org.opencontainers.image.created="2025-06-26T06:40:14Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/zookeeper/README.md" \
|
||||
org.opencontainers.image.ref.name="3.9.3-debian-12-r17" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/zookeeper" \
|
||||
org.opencontainers.image.title="zookeeper" \
|
||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||
@@ -27,9 +26,11 @@ COPY prebuildfs /
|
||||
SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates curl netcat-openbsd procps xmlstarlet zlib1g
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
|
||||
DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
|
||||
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
COMPONENTS=( \
|
||||
"wait-for-port-1.0.8-16-linux-${OS_ARCH}-debian-12" \
|
||||
"wait-for-port-1.0.9-0-linux-${OS_ARCH}-debian-12" \
|
||||
"jre-11.0.27-9-0-linux-${OS_ARCH}-debian-12" \
|
||||
"zookeeper-3.9.3-1-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "1.0.8-16"
|
||||
"version": "1.0.9-0"
|
||||
},
|
||||
"zookeeper": {
|
||||
"arch": "amd64",
|
||||
|
||||
26
bitnami/zookeeper/3.9/debian-12/prebuildfs/usr/sbin/uninstall_packages
Executable file
26
bitnami/zookeeper/3.9/debian-12/prebuildfs/usr/sbin/uninstall_packages
Executable file
@@ -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
|
||||
@@ -1,5 +1,5 @@
|
||||
rolling-tags:
|
||||
- "3.9"
|
||||
- 3.9-debian-12
|
||||
- 3.9.3
|
||||
- latest
|
||||
- "3.9"
|
||||
- 3.9-debian-12
|
||||
- 3.9.3
|
||||
- latest
|
||||
|
||||
@@ -144,11 +144,11 @@ networks:
|
||||
|
||||
services:
|
||||
zookeeper:
|
||||
image: 'bitnami/zookeeper:latest'
|
||||
image: bitnami/zookeeper:latest
|
||||
networks:
|
||||
- app-tier
|
||||
myapp:
|
||||
image: 'YOUR_APPLICATION_IMAGE'
|
||||
image: YOUR_APPLICATION_IMAGE
|
||||
networks:
|
||||
- app-tier
|
||||
```
|
||||
@@ -283,9 +283,9 @@ version: '2'
|
||||
|
||||
services:
|
||||
zookeeper:
|
||||
image: 'bitnami/zookeeper:latest'
|
||||
image: bitnami/zookeeper:latest
|
||||
ports:
|
||||
- '2181:2181'
|
||||
- 2181:2181
|
||||
volumes:
|
||||
- /path/to/zoo.cfg:/opt/bitnami/zookeeper/conf/zoo.cfg
|
||||
```
|
||||
@@ -421,33 +421,33 @@ version: '2'
|
||||
|
||||
services:
|
||||
zookeeper1:
|
||||
image: 'bitnami/zookeeper:latest'
|
||||
image: bitnami/zookeeper:latest
|
||||
ports:
|
||||
- '2181'
|
||||
- '2888'
|
||||
- '3888'
|
||||
- 2181
|
||||
- 2888
|
||||
- 3888
|
||||
volumes:
|
||||
- /path/to/zookeeper-persistence:/bitnami/zookeeper
|
||||
environment:
|
||||
- ZOO_SERVER_ID=1
|
||||
- ZOO_SERVERS=0.0.0.0:2888:3888,zookeeper2:2888:3888,zookeeper3:2888:3888
|
||||
zookeeper2:
|
||||
image: 'bitnami/zookeeper:latest'
|
||||
image: bitnami/zookeeper:latest
|
||||
ports:
|
||||
- '2181'
|
||||
- '2888'
|
||||
- '3888'
|
||||
- 2181
|
||||
- 2888
|
||||
- 3888
|
||||
volumes:
|
||||
- /path/to/zookeeper-persistence:/bitnami/zookeeper
|
||||
environment:
|
||||
- ZOO_SERVER_ID=2
|
||||
- ZOO_SERVERS=zookeeper1:2888:3888,0.0.0.0:2888:3888,zookeeper3:2888:3888
|
||||
zookeeper3:
|
||||
image: 'bitnami/zookeeper:latest'
|
||||
image: bitnami/zookeeper:latest
|
||||
ports:
|
||||
- '2181'
|
||||
- '2888'
|
||||
- '3888'
|
||||
- 2181
|
||||
- 2888
|
||||
- 3888
|
||||
volumes:
|
||||
- /path/to/zookeeper-persistence:/bitnami/zookeeper
|
||||
environment:
|
||||
@@ -533,9 +533,9 @@ version: '2'
|
||||
|
||||
services:
|
||||
zookeeper:
|
||||
image: 'bitnami/zookeeper:latest'
|
||||
image: bitnami/zookeeper:latest
|
||||
ports:
|
||||
- '2181:2181'
|
||||
- 2181:2181
|
||||
volumes:
|
||||
- /path/to/zookeeper-backups/latest:/bitnami/zookeeper
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user