diff --git a/bitnami/scylladb/5.4/debian-12/Dockerfile b/bitnami/scylladb/5.4/debian-12/Dockerfile index b3f3498f4d93a..6622890365dbd 100644 --- a/bitnami/scylladb/5.4/debian-12/Dockerfile +++ b/bitnami/scylladb/5.4/debian-12/Dockerfile @@ -3,16 +3,17 @@ FROM docker.io/bitnami/minideb:bookworm +ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith" ARG JAVA_EXTRA_SECURITY_DIR="/bitnami/java/extra-security" 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-10-09T17:47:36Z" \ + org.opencontainers.image.created="2024-10-24T18:03:11Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/scylladb/README.md" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="5.4.9-debian-12-r8" \ + org.opencontainers.image.ref.name="5.4.9-debian-12-r9" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/scylladb" \ org.opencontainers.image.title="scylladb" \ org.opencontainers.image.vendor="Broadcom, Inc." \ @@ -29,14 +30,14 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] RUN install_packages ca-certificates curl libatomic1 libblkid1 libbz2-1.0 libcap2 libcom-err2 libcrypt1 libffi8 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libicu72 libidn2-0 libjsoncpp25 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblz4-1 liblzma5 libmount1 libmpfr6 libncursesw6 libnettle8 libnsl2 libp11-kit0 libpcre2-8-0 libreadline8 libselinux1 libsmartcols1 libsqlite3-0 libssl3 libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libtirpc3 libudev1 libunistring2 libxxhash0 libzstd1 procps rsyslog zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ - "python-3.12.7-0-linux-${OS_ARCH}-debian-12" \ - "java-11.0.24-9-1-linux-${OS_ARCH}-debian-12" \ - "scylladb-5.4.9-3-linux-${OS_ARCH}-debian-12" \ + "python-3.12.7-3-linux-${OS_ARCH}-debian-12" \ + "java-11.0.25-11-1-linux-${OS_ARCH}-debian-12" \ + "scylladb-5.4.9-4-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \ + curl -SsLf "https://${DOWNLOADS_URL}/${COMPONENT}.tar.gz" -O ; \ + curl -SsLf "https://${DOWNLOADS_URL}/${COMPONENT}.tar.gz.sha256" -O ; \ fi ; \ sha256sum -c "${COMPONENT}.tar.gz.sha256" ; \ tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' ; \ diff --git a/bitnami/scylladb/5.4/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/scylladb/5.4/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json index 3edc24de6408b..80148f832e560 100644 --- a/bitnami/scylladb/5.4/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/scylladb/5.4/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json @@ -3,18 +3,18 @@ "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "11.0.24-9-1" + "version": "11.0.25-11-1" }, "python": { "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "3.12.7-0" + "version": "3.12.7-3" }, "scylladb": { "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "5.4.9-3" + "version": "5.4.9-4" } } \ No newline at end of file diff --git a/bitnami/scylladb/5.4/debian-12/rootfs/opt/bitnami/scripts/libscylladb.sh b/bitnami/scylladb/5.4/debian-12/rootfs/opt/bitnami/scripts/libscylladb.sh index 79f50361216f4..7bf0faedc229d 100644 --- a/bitnami/scylladb/5.4/debian-12/rootfs/opt/bitnami/scripts/libscylladb.sh +++ b/bitnami/scylladb/5.4/debian-12/rootfs/opt/bitnami/scripts/libscylladb.sh @@ -575,11 +575,12 @@ cassandra_enable_auth() { cassandra_yaml_set "authorizer" "AllowAllAuthorizer" else if [[ "$DB_FLAVOR" = "cassandra" ]] && [ "$(cassandra_get_major_version)" -ge 5 ]; then - replace_in_file "${DB_CONF_FILE}" "class_name : org.apache.cassandra.auth.AllowAllAuthenticator" "class_name : org.apache.cassandra.auth.${DB_AUTHENTICATOR}" + replace_in_file "${DB_CONF_FILE}" "class_name.* AllowAllAuthenticator" "class_name: ${DB_AUTHENTICATOR}" + replace_in_file "${DB_CONF_FILE}" "class_name.* AllowAllAuthorizer" "class_name: ${DB_AUTHORIZER}" else cassandra_yaml_set "authenticator" "${DB_AUTHENTICATOR}" + cassandra_yaml_set "authorizer" "${DB_AUTHORIZER}" fi - cassandra_yaml_set "authorizer" "${DB_AUTHORIZER}" fi else debug "${DB_MOUNTED_CONF_PATH} mounted. Skipping authentication method configuration"