mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 11:40:22 +02:00
[bitnami/scylladb] Release 2026.1.7-debian-12-r0 (#95065)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -8,13 +8,13 @@ ARG JAVA_EXTRA_SECURITY_DIR="/bitnami/java/extra-security"
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2026-06-24T13:02:33Z" \
|
||||
org.opencontainers.image.created="2026-07-01T12:04:58Z" \
|
||||
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.source="https://github.com/bitnami/containers/tree/main/bitnami/scylladb" \
|
||||
org.opencontainers.image.title="scylladb" \
|
||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||
org.opencontainers.image.version="2026.1.6"
|
||||
org.opencontainers.image.version="2026.1.7"
|
||||
|
||||
ENV HOME="/" \
|
||||
OS_ARCH="${TARGETARCH:-amd64}" \
|
||||
@@ -31,7 +31,7 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
|
||||
COMPONENTS=( \
|
||||
"python-3.12.13-16-linux-${OS_ARCH}-debian-12" \
|
||||
"jre-11.0.31-11-1-linux-${OS_ARCH}-debian-12" \
|
||||
"scylladb-2026.1.6-0-linux-${OS_ARCH}-debian-12" \
|
||||
"scylladb-2026.1.7-0-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
@@ -51,7 +51,7 @@ RUN uninstall_packages curl
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/scylladb/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/java/postunpack.sh
|
||||
ENV APP_VERSION="2026.1.6" \
|
||||
ENV APP_VERSION="2026.1.7" \
|
||||
BITNAMI_APP_NAME="scylladb" \
|
||||
IMAGE_REVISION="0" \
|
||||
JAVA_HOME="/opt/bitnami/java" \
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
c696d0c4488da31697473856d5275732bc61163855b5dd27aa35c660e9d1877a scylladb-2026.1.6-0-linux-amd64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
6f28cd582c3d67bb4a5ea4519273e408db08bdf2a9fde304e2f5009afb499692 scylladb-2026.1.6-0-linux-arm64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
27cf8ed36fa3b841e5adfcdb2b7a512f2a673000e114a510eb4b439a5fabfa62 scylladb-2026.1.7-0-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
6b3d77e9a1829369d7e61d0276229a7b9b3e763d741a133ce64ea67afd0f224c scylladb-2026.1.7-0-linux-arm64-debian-12.tar.gz
|
||||
@@ -925,7 +925,7 @@ cassandra_initialize() {
|
||||
# Otherwise, cqlsh reconnects to the pod IP (via system.local), blocked by the ensure_superuser_is_created gate.
|
||||
cassandra_start_bg "$DB_FIRST_BOOT_LOG_FILE" "" "" "--broadcast-rpc-address 127.0.0.1"
|
||||
else
|
||||
cassandra_yaml_set "rpc_address" "127.0.0.1"
|
||||
is_boolean_yes "$DB_ISOLATED_SEEDING" && cassandra_yaml_set "rpc_address" "127.0.0.1"
|
||||
cassandra_start_bg "$DB_FIRST_BOOT_LOG_FILE"
|
||||
fi
|
||||
if is_boolean_yes "$DB_PASSWORD_SEEDER"; then
|
||||
@@ -1311,28 +1311,31 @@ wait_for_peers_ready() {
|
||||
|
||||
local peer peer_ip
|
||||
for peer in ${peers//,/ }; do
|
||||
peer_ip="$(dns_lookup "$peer" "v4")"
|
||||
[[ -z "$peer_ip" ]] && peer_ip="$peer"
|
||||
info "Waiting for peer $peer to reach Up/Normal (UN) status"
|
||||
if is_boolean_yes "$DB_ISOLATED_SEEDING"; then
|
||||
peer_ip="$(dns_lookup "$peer" "v4")"
|
||||
[[ -z "$peer_ip" ]] && peer_ip="$peer"
|
||||
# shellcheck disable=SC2329
|
||||
check_peer_un() {
|
||||
# Using legacy RMI URL parsing to avoid URISyntaxException: 'Malformed IPv6 address at index 7: rmi://[127.0.0.1]:7199' error
|
||||
# https://community.datastax.com/questions/13764/java-version-for-cassandra-3113.html
|
||||
local -r check_cmd=("nodetool" "-Dcom.sun.jndi.rmiURLParsing=legacy")
|
||||
local -r check_args=("status" "--port" "$DB_JMX_PORT_NUMBER")
|
||||
local -r check_regex="UN\s*(${peer}|${peer_ip})"
|
||||
local output="/dev/null"
|
||||
if [[ "$BITNAMI_DEBUG" = "true" ]]; then
|
||||
output="/dev/stdout"
|
||||
fi
|
||||
|
||||
check_peer_un() {
|
||||
# Using legacy RMI URL parsing to avoid URISyntaxException: 'Malformed IPv6 address at index 7: rmi://[127.0.0.1]:7199' error
|
||||
# https://community.datastax.com/questions/13764/java-version-for-cassandra-3113.html
|
||||
local -r check_cmd=("nodetool" "-Dcom.sun.jndi.rmiURLParsing=legacy")
|
||||
local -r check_args=("status" "--port" "$DB_JMX_PORT_NUMBER")
|
||||
local -r check_regex="UN\s*(${peer}|${peer_ip})"
|
||||
"${check_cmd[@]}" "${check_args[@]}" | grep -E "${check_regex}" >"${output}"
|
||||
}
|
||||
|
||||
local output="/dev/null"
|
||||
if [[ "$BITNAMI_DEBUG" = "true" ]]; then
|
||||
output="/dev/stdout"
|
||||
info "Waiting for peer $peer to reach Up/Normal (UN) status"
|
||||
if ! retry_while check_peer_un "$retries" "$sleep_time"; then
|
||||
error "Peer $peer did not reach Up/Normal (UN) status"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
"${check_cmd[@]}" "${check_args[@]}" | grep -E "${check_regex}" >"${output}"
|
||||
}
|
||||
|
||||
if ! retry_while check_peer_un "$retries" "$sleep_time"; then
|
||||
error "Peer $peer did not reach Up/Normal (UN) status"
|
||||
exit 1
|
||||
else
|
||||
wait_for_cql_access "cassandra" "cassandra" "$peer" "$retries" "$sleep_time"
|
||||
fi
|
||||
done
|
||||
info "All peers reached Up/Normal (UN) status"
|
||||
|
||||
@@ -35,6 +35,7 @@ scylladb_env_vars=(
|
||||
SCYLLADB_HOST
|
||||
SCYLLADB_INTERNODE_ENCRYPTION
|
||||
SCYLLADB_NUM_TOKENS
|
||||
SCYLLADB_ISOLATED_SEEDING
|
||||
SCYLLADB_PASSWORD_SEEDER
|
||||
SCYLLADB_SEEDS
|
||||
SCYLLADB_PEERS
|
||||
@@ -153,6 +154,8 @@ export SCYLLADB_INTERNODE_ENCRYPTION="${SCYLLADB_INTERNODE_ENCRYPTION:-none}"
|
||||
export DB_INTERNODE_ENCRYPTION="$SCYLLADB_INTERNODE_ENCRYPTION"
|
||||
export SCYLLADB_NUM_TOKENS="${SCYLLADB_NUM_TOKENS:-256}"
|
||||
export DB_NUM_TOKENS="$SCYLLADB_NUM_TOKENS"
|
||||
export SCYLLADB_ISOLATED_SEEDING="${SCYLLADB_ISOLATED_SEEDING:-yes}"
|
||||
export DB_ISOLATED_SEEDING="$SCYLLADB_ISOLATED_SEEDING"
|
||||
export SCYLLADB_PASSWORD_SEEDER="${SCYLLADB_PASSWORD_SEEDER:-no}"
|
||||
export DB_PASSWORD_SEEDER="$SCYLLADB_PASSWORD_SEEDER"
|
||||
export SCYLLADB_SEEDS="${SCYLLADB_SEEDS:-$DB_HOST}"
|
||||
|
||||
@@ -92,6 +92,7 @@ The following tables list the main variables you can set.
|
||||
| `SCYLLADB_HOST` | ScyllaDB host name | `nil` |
|
||||
| `SCYLLADB_INTERNODE_ENCRYPTION` | Internode encryption type | `none` |
|
||||
| `SCYLLADB_NUM_TOKENS` | Number of tokens in cluster connection | `256` |
|
||||
| `SCYLLADB_ISOLATED_SEEDING` | Perform seeding without exposing RPC endpoint | `yes` |
|
||||
| `SCYLLADB_PASSWORD_SEEDER` | Set node as password seeder in the cluster | `no` |
|
||||
| `SCYLLADB_SEEDS` | List of cluster seeds | `$DB_HOST` |
|
||||
| `SCYLLADB_PEERS` | List of cluster peers | `$DB_SEEDS` |
|
||||
|
||||
Reference in New Issue
Block a user