[bitnami/cassandra] Release cassandra-5.0.2-debian-12-r4 (#75595)

Signed-off-by: Bitnami Bot <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-12-09 22:35:06 +01:00
committed by GitHub
parent 2cf67ebd9d
commit 629039567a
5 changed files with 15 additions and 6 deletions

View File

@@ -9,11 +9,11 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2024-11-09T20:29:25Z" \
org.opencontainers.image.created="2024-12-09T20:58:49Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/cassandra/README.md" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="5.0.2-debian-12-r3" \
org.opencontainers.image.ref.name="5.0.2-debian-12-r4" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/cassandra" \
org.opencontainers.image.title="cassandra" \
org.opencontainers.image.vendor="Broadcom, Inc." \
@@ -30,7 +30,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl libbz2-1.0 libcom-err2 libcrypt1 libffi8 libgssapi-krb5-2 libjemalloc2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libssl3 libtinfo6 libtirpc3 procps zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \
"python-3.11.10-10-linux-${OS_ARCH}-debian-12" \
"python-3.11.11-0-linux-${OS_ARCH}-debian-12" \
"java-11.0.25-11-1-linux-${OS_ARCH}-debian-12" \
"cassandra-5.0.2-1-linux-${OS_ARCH}-debian-12" \
) ; \

View File

@@ -15,6 +15,6 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "3.11.10-10"
"version": "3.11.11-0"
}
}

View File

@@ -71,6 +71,7 @@ cassandra_env_vars=(
CASSANDRA_SSL_CA_FILE
CASSANDRA_SSL_VALIDATE
SSL_VERSION
JAVA_TOOL_OPTIONS
)
for env_var in "${cassandra_env_vars[@]}"; do
file_env_var="${env_var}_FILE"
@@ -257,4 +258,7 @@ export DB_MOUNTED_ENV_PATH="$CASSANDRA_MOUNTED_ENV_PATH"
export CASSANDRA_MOUNTED_LOGBACK_PATH="logback.xml"
export DB_MOUNTED_LOGBACK_PATH="$CASSANDRA_MOUNTED_LOGBACK_PATH"
# Java settings
export JAVA_TOOL_OPTIONS="${JAVA_TOOL_OPTIONS:-}"
# Custom environment variables may be defined below

View File

@@ -13,6 +13,11 @@ set -o pipefail
. /opt/bitnami/scripts/libbitnami.sh
. /opt/bitnami/scripts/liblog.sh
if [[ "$OS_FLAVOUR" =~ photon && "$APP_VERSION" =~ ^1.8 ]]; then
# Option --module-path is not supported by JAVA 1.8 since modules were added in version 1.9
unset JAVA_TOOL_OPTIONS
fi
print_welcome_page
echo ""

View File

@@ -794,8 +794,8 @@ cassandra_setup_common_ports() {
#########################
cassandra_setup_rack_dc() {
if ! cassandra_is_file_external "${DB_MOUNTED_RACKDC_PATH}"; then
replace_in_file "${DB_RACKDC_FILE}" "dc=.*" "dc=${DB_DATACENTER}"
replace_in_file "${DB_RACKDC_FILE}" "rack=.*" "rack=${DB_RACK}"
replace_in_file "${DB_RACKDC_FILE}" "^[#\s]*dc=.*" "dc=${DB_DATACENTER}"
replace_in_file "${DB_RACKDC_FILE}" "^[#\s]*rack=.*" "rack=${DB_RACK}"
else
debug "${DB_MOUNTED_RACKDC_PATH} mounted. Skipping rack and datacenter configuration"
fi