[bitnami/memcached] Release 1.6.23-debian-11-r21 (#62085)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2024-02-19 13:42:56 +01:00 committed by GitHub
parent 67f9a9f0a9
commit bc33246b2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 28 additions and 16 deletions

View File

@ -7,10 +7,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2024-02-16T12:54:44Z" \
org.opencontainers.image.created="2024-02-19T12:19:05Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="1.6.23-debian-11-r20" \
org.opencontainers.image.ref.name="1.6.23-debian-11-r21" \
org.opencontainers.image.title="memcached" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="1.6.23"

View File

@ -51,6 +51,7 @@ unset memcached_env_vars
# Paths
export MEMCACHED_BASE_DIR="${BITNAMI_ROOT_DIR}/memcached"
export MEMCACHED_CONF_DIR="${MEMCACHED_BASE_DIR}/conf"
export MEMCACHED_DEFAULT_CONF_DIR="${MEMCACHED_BASE_DIR}/conf.default"
export MEMCACHED_BIN_DIR="${MEMCACHED_BASE_DIR}/bin"
export PATH="${MEMCACHED_BIN_DIR}:${BITNAMI_ROOT_DIR}/common/bin:${PATH}"

View File

@ -19,6 +19,12 @@ set -o pipefail
print_welcome_page
# We add the copy from default config in the entrypoint to not break users
# bypassing the setup.sh logic. If the file already exists do not overwrite (in
# case someone mounts a configuration file in /opt/bitnami/memcached/conf)
debug "Copying files from $MEMCACHED_DEFAULT_CONF_DIR to $MEMCACHED_CONF_DIR"
cp -nfr "$MEMCACHED_DEFAULT_CONF_DIR"/. "$MEMCACHED_CONF_DIR"
if [[ "$*" = *"/opt/bitnami/scripts/memcached/run.sh"* || "$*" = *"/run.sh"* ]]; then
info "** Starting Memcached setup **"
/opt/bitnami/scripts/memcached/setup.sh

View File

@ -21,3 +21,7 @@ for dir in "$MEMCACHED_CONF_DIR" "$SASL_CONF_PATH"; do
ensure_dir_exists "$dir"
chmod -R g+rwX "$dir"
done
# Copy all initially generated configuration files to the default directory
# (this is to avoid breaking when entrypoint is being overridden)
cp -r "${MEMCACHED_CONF_DIR}/"* "$MEMCACHED_DEFAULT_CONF_DIR"

View File

@ -148,20 +148,21 @@ docker-compose up -d
#### Read-only environment variables
| Name | Description | Value |
|--------------------------|---------------------------------------------|---------------------------------------|
| `MEMCACHED_BASE_DIR` | Memcached installation directory. | `${BITNAMI_ROOT_DIR}/memcached` |
| `MEMCACHED_CONF_DIR` | Memcached configuration directory. | `${MEMCACHED_BASE_DIR}/conf` |
| `MEMCACHED_BIN_DIR` | Memcached directory for binary executables. | `${MEMCACHED_BASE_DIR}/bin` |
| `MEMCACHED_TMP_DIR` | Memcached directory for temporary files. | `${MEMCACHED_BASE_DIR}/tmp` |
| `MEMCACHED_LOGS_DIR` | Memcached directory for logs. | `${MEMCACHED_BASE_DIR}/logs` |
| `MEMCACHED_LOG_FILE` | Path to the Memcached log file. | `${MEMCACHED_LOGS_DIR}/memcached.log` |
| `MEMCACHED_PID_FILE` | Path to the Memcached PID file. | `${MEMCACHED_TMP_DIR}/memcached.pid` |
| `SASL_CONF_PATH` | Memcached SASL configuration directory. | `${MEMCACHED_CONF_DIR}/sasl2` |
| `SASL_CONF_FILE` | Memcached SASL configuration | `${SASL_CONF_PATH}/memcached.conf` |
| `SASL_DB_FILE` | Memcached SASL database file. | `${SASL_CONF_PATH}/memcachedsasldb` |
| `MEMCACHED_DAEMON_USER` | Memcached system user. | `memcached` |
| `MEMCACHED_DAEMON_GROUP` | Memcached system group. | `memcached` |
| Name | Description | Value |
|------------------------------|---------------------------------------------|---------------------------------------|
| `MEMCACHED_BASE_DIR` | Memcached installation directory. | `${BITNAMI_ROOT_DIR}/memcached` |
| `MEMCACHED_CONF_DIR` | Memcached configuration directory. | `${MEMCACHED_BASE_DIR}/conf` |
| `MEMCACHED_DEFAULT_CONF_DIR` | Memcached configuration directory. | `${MEMCACHED_BASE_DIR}/conf.default` |
| `MEMCACHED_BIN_DIR` | Memcached directory for binary executables. | `${MEMCACHED_BASE_DIR}/bin` |
| `MEMCACHED_TMP_DIR` | Memcached directory for temporary files. | `${MEMCACHED_BASE_DIR}/tmp` |
| `MEMCACHED_LOGS_DIR` | Memcached directory for logs. | `${MEMCACHED_BASE_DIR}/logs` |
| `MEMCACHED_LOG_FILE` | Path to the Memcached log file. | `${MEMCACHED_LOGS_DIR}/memcached.log` |
| `MEMCACHED_PID_FILE` | Path to the Memcached PID file. | `${MEMCACHED_TMP_DIR}/memcached.pid` |
| `SASL_CONF_PATH` | Memcached SASL configuration directory. | `${MEMCACHED_CONF_DIR}/sasl2` |
| `SASL_CONF_FILE` | Memcached SASL configuration | `${SASL_CONF_PATH}/memcached.conf` |
| `SASL_DB_FILE` | Memcached SASL database file. | `${SASL_CONF_PATH}/memcachedsasldb` |
| `MEMCACHED_DAEMON_USER` | Memcached system user. | `memcached` |
| `MEMCACHED_DAEMON_GROUP` | Memcached system group. | `memcached` |
### Specify the cache size