[bitnami/zookeeper] Release 3.9.5-debian-12-r10 (#94750)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2026-06-11 11:03:25 +02:00
committed by GitHub
parent 1a6650c6e6
commit 1d546839a0
5 changed files with 14 additions and 10 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="https://downloads.bitnami.com/files/stacksmith"
ARG TARGETARCH
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2026-06-11T04:23:52Z" \
org.opencontainers.image.created="2026-06-11T08:42:19Z" \
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.source="https://github.com/bitnami/containers/tree/main/bitnami/zookeeper" \
@@ -53,7 +53,7 @@ COPY rootfs /
RUN /opt/bitnami/scripts/zookeeper/postunpack.sh
ENV APP_VERSION="3.9.5" \
BITNAMI_APP_NAME="zookeeper" \
IMAGE_REVISION="9"
IMAGE_REVISION="10"
EXPOSE 2181 2888 3888 8080
@@ -39,7 +39,7 @@ persist_app() {
fi
pushd "$install_dir" >/dev/null || exit
local file_to_persist_relative file_to_persist_destination file_to_persist_destination_folder
local -r tmp_file="/tmp/perms.acl"
local -r acl_file="$(mktemp "${TMPDIR:-/tmp}"/acl.XXXXXXXXXX)"
for file_to_persist in "${files_to_persist[@]}"; do
if [[ ! -f "$file_to_persist" && ! -d "$file_to_persist" ]]; then
error "Cannot persist '${file_to_persist}' because it does not exist"
@@ -50,22 +50,22 @@ persist_app() {
file_to_persist_destination_folder="$(dirname "$file_to_persist_destination")"
# Get original permissions for existing files, which will be applied later
# Exclude the root directory with 'sed', to avoid issues when copying the entirety of it to a volume
getfacl -R "$file_to_persist_relative" | sed -E '/# file: (\..+|[^.])/,$!d' > "$tmp_file"
getfacl -R "$file_to_persist_relative" | sed -E '/# file: (\..+|[^.])/,$!d' > "$acl_file"
# Copy directories to the volume
ensure_dir_exists "$file_to_persist_destination_folder"
cp -Lr --preserve=links "$file_to_persist_relative" "$file_to_persist_destination_folder"
# Restore permissions
pushd "$persist_dir" >/dev/null || exit
if am_i_root; then
setfacl --restore="$tmp_file"
setfacl --restore="$acl_file"
else
# When running as non-root, don't change ownership
setfacl --restore=<(grep -E -v '^# (owner|group):' "$tmp_file")
setfacl --restore=<(grep -E -v '^# (owner|group):' "$acl_file")
fi
popd >/dev/null || exit
done
popd >/dev/null || exit
rm -f "$tmp_file"
rm -f "$acl_file"
# Install the persisted files into the installation directory, via symlinks
restore_persisted_app "$@"
}
@@ -223,7 +223,8 @@ zookeeper_generate_conf() {
else
zookeeper_conf_set "${ZOO_CONF_DIR}/log4j.properties" zookeeper.console.threshold "$ZOO_LOG_LEVEL"
fi
# Admin web server https://zookeeper.apache.org/doc/r3.5.7/zookeeperAdmin.html#sc_adminserver
# Admin web server https://zookeeper.apache.org/doc/r3.9.5/zookeeperAdmin.html#sc_adminserver_config
zookeeper_conf_set "$ZOO_CONF_FILE" admin.serverAddress "$ZOO_ADMIN_SERVER_ADDRESS"
zookeeper_conf_set "$ZOO_CONF_FILE" admin.serverPort "$ZOO_ADMIN_SERVER_PORT_NUMBER"
zookeeper_conf_set "$ZOO_CONF_FILE" admin.enableServer "$(is_boolean_yes "$ZOO_ENABLE_ADMIN_SERVER" && echo "true" || echo "false")"
@@ -29,6 +29,7 @@ zookeeper_env_vars=(
ZOO_SERVER_ID
ZOO_SERVERS
ZOO_ENABLE_ADMIN_SERVER
ZOO_ADMIN_SERVER_ADDRESS
ZOO_ADMIN_SERVER_PORT_NUMBER
ZOO_PEER_TYPE
ZOO_TICK_TIME
@@ -114,7 +115,8 @@ export ZOO_DAEMON_GROUP="zookeeper"
export ZOO_PORT_NUMBER="${ZOO_PORT_NUMBER:-2181}"
export ZOO_SERVER_ID="${ZOO_SERVER_ID:-1}"
export ZOO_SERVERS="${ZOO_SERVERS:-}"
export ZOO_ENABLE_ADMIN_SERVER="${ZOO_ENABLE_ADMIN_SERVER:-yes}"
export ZOO_ENABLE_ADMIN_SERVER="${ZOO_ENABLE_ADMIN_SERVER:-no}"
export ZOO_ADMIN_SERVER_ADDRESS="${ZOO_ADMIN_SERVER_ADDRESS:-127.0.0.1}"
export ZOO_ADMIN_SERVER_PORT_NUMBER="${ZOO_ADMIN_SERVER_PORT_NUMBER:-8080}"
export ZOO_PEER_TYPE="${ZOO_PEER_TYPE:-}"
+2 -1
View File
@@ -82,7 +82,8 @@ You can adjust the instance using the variables below.
| `ZOO_PORT_NUMBER` | ZooKeeper client port. | `2181` |
| `ZOO_SERVER_ID` | ID of the server in the ensemble. | `1` |
| `ZOO_SERVERS` | Comma, space or semi-colon separated list of servers. | `nil` |
| `ZOO_ENABLE_ADMIN_SERVER` | Whether to enable the ZooKeeper admin server. | `yes` |
| `ZOO_ENABLE_ADMIN_SERVER` | Whether to enable the ZooKeeper admin server. | `no` |
| `ZOO_ADMIN_SERVER_ADDRESS` | ZooKeeper admin server bind address. | `127.0.0.1` |
| `ZOO_ADMIN_SERVER_PORT_NUMBER` | ZooKeeper admin server port. | `8080` |
| `ZOO_PEER_TYPE` | Zookeeper Node Peer type | `nil` |
| `ZOO_TICK_TIME` | Basic time unit in milliseconds used by ZooKeeper for heartbeats. | `2000` |