Skip to content

Commit

Permalink
[bitnami/scylladb] Release scylladb-5.4.9-debian-12-r9 (#73896)
Browse files Browse the repository at this point in the history
Signed-off-by: Bitnami Bot <bitnami-bot@vmware.com>
  • Loading branch information
bitnami-bot authored Oct 24, 2024
1 parent ef0de76 commit 4d0417d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
15 changes: 8 additions & 7 deletions bitnami/scylladb/5.4/debian-12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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." \
Expand All @@ -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' ; \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4d0417d

Please sign in to comment.