1.6.14-debian-10-r18 release

This commit is contained in:
Bitnami Bot
2022-02-28 21:44:01 +00:00
parent aa747187a7
commit 431f62af61
5 changed files with 8 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ RUN ln -s /opt/bitnami/scripts/memcached/run.sh /run.sh
COPY rootfs /
RUN /opt/bitnami/scripts/memcached/postunpack.sh
ENV BITNAMI_APP_NAME="memcached" \
BITNAMI_IMAGE_VERSION="1.6.14-debian-10-r17" \
BITNAMI_IMAGE_VERSION="1.6.14-debian-10-r18" \
PATH="/opt/bitnami/memcached/bin:/opt/bitnami/common/bin:$PATH"
EXPOSE 11211

View File

@@ -54,7 +54,7 @@ memcached_validate() {
print_validation_error "The variable MEMCACHED_THREADS must be positive integer"
fi
# Memcached Threads validation
# Memcached Item size validation
if [[ -n "${MEMCACHED_MAX_ITEM_SIZE}" ]] && ! is_positive_int "${MEMCACHED_MAX_ITEM_SIZE}"; then
print_validation_error "The variable MEMCACHED_MAX_ITEM_SIZE must be positive integer"
fi
@@ -119,7 +119,7 @@ memcached_enable_authentication() {
memcached_create_user "${user}" "${password}"
debug "Generating config file '${SASL_CONF_FILE}'"
cat > "${SASL_CONF_FILE}" <<EOF
cat >"${SASL_CONF_FILE}" <<EOF
mech_list: plain
sasldb_path: ${SASL_DB_FILE}
EOF

View File

@@ -25,12 +25,12 @@ memcached_env_vars=(
MEMCACHED_PORT_NUMBER
MEMCACHED_USERNAME
MEMCACHED_PASSWORD
MEMCACHED_MAX_ITEM_SIZE
MEMCACHED_EXTRA_FLAGS
MEMCACHED_MAX_TIMEOUT
MEMCACHED_CACHE_SIZE
MEMCACHED_MAX_CONNECTIONS
MEMCACHED_THREADS
MEMCACHED_MAX_ITEM_SIZE
)
for env_var in "${memcached_env_vars[@]}"; do
file_env_var="${env_var}_FILE"
@@ -65,6 +65,7 @@ export MEMCACHED_LISTEN_ADDRESS="${MEMCACHED_LISTEN_ADDRESS:-}"
export MEMCACHED_PORT_NUMBER="${MEMCACHED_PORT_NUMBER:-11211}"
export MEMCACHED_USERNAME="${MEMCACHED_USERNAME:-root}"
export MEMCACHED_PASSWORD="${MEMCACHED_PASSWORD:-}"
export MEMCACHED_MAX_ITEM_SIZE="${MEMCACHED_MAX_ITEM_SIZE:-}"
export MEMCACHED_EXTRA_FLAGS="${MEMCACHED_EXTRA_FLAGS:-}"
# Memcached optimizations
@@ -72,6 +73,5 @@ export MEMCACHED_MAX_TIMEOUT="${MEMCACHED_MAX_TIMEOUT:-5}"
export MEMCACHED_CACHE_SIZE="${MEMCACHED_CACHE_SIZE:-}"
export MEMCACHED_MAX_CONNECTIONS="${MEMCACHED_MAX_CONNECTIONS:-}"
export MEMCACHED_THREADS="${MEMCACHED_THREADS:-}"
export MEMCACHED_MAX_ITEM_SIZE="${MEMCACHED_MAX_ITEM_SIZE:-}"
# Custom environment variables may be defined below

View File

@@ -26,7 +26,7 @@ args=("-u" "$MEMCACHED_DAEMON_USER" "-p" "$MEMCACHED_PORT_NUMBER" "-v")
[[ -n "$MEMCACHED_THREADS" ]] && args+=("-t" "$MEMCACHED_THREADS")
[[ -n "$MEMCACHED_MAX_ITEM_SIZE" ]] && args+=("-I" "$MEMCACHED_MAX_ITEM_SIZE")
# Extra flags
read -r -a extra_flags <<< "$MEMCACHED_EXTRA_FLAGS"
read -r -a extra_flags <<<"$MEMCACHED_EXTRA_FLAGS"
[[ "${#extra_flags[@]}" -gt 0 ]] && args+=("${extra_flags[@]}")
args+=("$@")

View File

@@ -48,7 +48,7 @@ Non-root container images add an extra layer of security and are generally recom
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
* [`1`, `1-debian-10`, `1.6.14`, `1.6.14-debian-10-r17`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-memcached/blob/1.6.14-debian-10-r17/1/debian-10/Dockerfile)
* [`1`, `1-debian-10`, `1.6.14`, `1.6.14-debian-10-r18`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-memcached/blob/1.6.14-debian-10-r18/1/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/memcached GitHub repo](https://github.com/bitnami/bitnami-docker-memcached).
@@ -203,7 +203,7 @@ services:
### Specify max item size (slab size)
By default, the Bitnami Memcached container will not specify any max item size and will start with Memcached defaults (1048576 ~ 1 megabyte). You can specify a different value with the `MEMCACHED_MAX_ITEM_SIZE` environment variable. Only numeric values are accepted - use `8388608` instead of `8m`
By default, the Memcached container will not specify any max item size and will start with Memcached defaults (1048576 ~ 1 megabyte). You can specify a different value with the `MEMCACHED_MAX_ITEM_SIZE` environment variable. Only numeric values are accepted - use `8388608` instead of `8m`
```console
$ docker run --name memcached -e MEMCACHED_MAX_ITEM_SIZE=8388608 bitnami/memcached:latest