mirror of
https://github.com/bitnami/containers.git
synced 2026-10-20 14:48:59 +02:00
[bitnami/redis] Release 7.0.4-debian-11-r3 (#273)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
co-authored by
Fran Mulero
parent
5a3b3fc679
commit
a452a2b255
@@ -9,7 +9,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages acl ca-certificates curl gzip libc6 libssl1.1 procps tar
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.3-152" --checksum 0694ae67645c416d9f6875e90c0f7cef379b4ac8030a6a5b8b5cc9ca77c6975d
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "redis" "7.0.4-0" --checksum 295130284b985759f807eaf8c93018a93ae890d7a9d64c19f363f59c1c5cf17c
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "redis" "7.0.4-1" --checksum 295130284b985759f807eaf8c93018a93ae890d7a9d64c19f363f59c1c5cf17c
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-152" --checksum 0c751c7e2ec0bc900a19dbec0306d6294fe744ddfb0fa64197ba1a36040092f0
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"digest": "295130284b985759f807eaf8c93018a93ae890d7a9d64c19f363f59c1c5cf17c",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "7.0.4-0"
|
||||
"version": "7.0.4-1"
|
||||
},
|
||||
"wait-for-port": {
|
||||
"arch": "amd64",
|
||||
|
||||
@@ -413,6 +413,10 @@ redis_configure_default() {
|
||||
[[ -n "$REDIS_TLS_DH_PARAMS_FILE" ]] && redis_conf_set tls-dh-params-file "$REDIS_TLS_DH_PARAMS_FILE"
|
||||
redis_conf_set tls-auth-clients "$REDIS_TLS_AUTH_CLIENTS"
|
||||
fi
|
||||
# Multithreading configuration
|
||||
! is_empty_value "$REDIS_IO_THREADS_DO_READS" && redis_conf_set "io-threads-do-reads" "$REDIS_IO_THREADS_DO_READS"
|
||||
! is_empty_value "$REDIS_IO_THREADS" && redis_conf_set "io-threads" "$REDIS_IO_THREADS"
|
||||
|
||||
if [[ -n "$REDIS_PASSWORD" ]]; then
|
||||
redis_conf_set requirepass "$REDIS_PASSWORD"
|
||||
else
|
||||
|
||||
@@ -39,6 +39,8 @@ redis_env_vars=(
|
||||
REDIS_PASSWORD
|
||||
REDIS_MASTER_PASSWORD
|
||||
REDIS_ACLFILE
|
||||
REDIS_IO_THREADS_DO_READS
|
||||
REDIS_IO_THREADS
|
||||
REDIS_TLS_ENABLED
|
||||
REDIS_TLS_PORT_NUMBER
|
||||
REDIS_TLS_CERT_FILE
|
||||
@@ -100,6 +102,8 @@ export ALLOW_EMPTY_PASSWORD="${ALLOW_EMPTY_PASSWORD:-no}"
|
||||
export REDIS_PASSWORD="${REDIS_PASSWORD:-}"
|
||||
export REDIS_MASTER_PASSWORD="${REDIS_MASTER_PASSWORD:-}"
|
||||
export REDIS_ACLFILE="${REDIS_ACLFILE:-}"
|
||||
export REDIS_IO_THREADS_DO_READS="${REDIS_IO_THREADS_DO_READS:-}"
|
||||
export REDIS_IO_THREADS="${REDIS_IO_THREADS:-}"
|
||||
|
||||
# TLS settings
|
||||
export REDIS_TLS_ENABLED="${REDIS_TLS_ENABLED:-no}"
|
||||
|
||||
Reference in New Issue
Block a user