1.6.6-debian-10-r54 release

This commit is contained in:
Bitnami Bot 2020-07-09 08:27:14 +00:00
parent daf7bb06f6
commit 00a1f3743c
3 changed files with 52 additions and 10 deletions

View File

@ -19,7 +19,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.6-debian-10-r53" \
BITNAMI_IMAGE_VERSION="1.6.6-debian-10-r54" \
PATH="/opt/bitnami/memcached/bin:/opt/bitnami/common/bin:$PATH"
EXPOSE 11211

View File

@ -150,7 +150,7 @@ web_server_reload() {
########################
ensure_web_server_app_configuration_exists() {
local app="${1:?missing app}"
local -a args=()
local -a args=("$app")
# Validate arguments
shift
while [[ "$#" -gt 0 ]]; do
@ -165,7 +165,7 @@ ensure_web_server_app_configuration_exists() {
| --https-port \
| --document-root \
)
args+=("$1" "$2")
args+=("$1" "${2:?missing value}")
shift
;;
@ -176,13 +176,13 @@ ensure_web_server_app_configuration_exists() {
| --apache-extra-directory-configuration \
| --apache-move-htaccess \
)
[[ "$(web_server_type)" == "apache" ]] && args+=("${1//apache-/}" "$2")
[[ "$(web_server_type)" == "apache" ]] && args+=("${1//apache-/}" "${2:?missing value}")
shift
;;
# Specific NGINX flags
--nginx-additional-configuration)
[[ "$(web_server_type)" == "nginx" ]] && args+=("${1//nginx-/}" "$2")
[[ "$(web_server_type)" == "nginx" ]] && args+=("${1//nginx-/}" "${2:?missing value}")
shift
;;
@ -193,7 +193,7 @@ ensure_web_server_app_configuration_exists() {
esac
shift
done
"ensure_$(web_server_type)_app_configuration_exists" "$app" "${args[@]}"
"ensure_$(web_server_type)_app_configuration_exists" "${args[@]}"
}
########################
@ -235,7 +235,7 @@ ensure_web_server_app_configuration_not_exists() {
########################
ensure_web_server_prefix_configuration_exists() {
local app="${1:?missing app}"
local -a args=()
local -a args=("$app")
# Validate arguments
shift
while [[ "$#" -gt 0 ]]; do
@ -246,7 +246,7 @@ ensure_web_server_prefix_configuration_exists() {
| --prefix \
| --type \
)
args+=("$1" "$2")
args+=("$1" "${2:?missing value}")
shift
;;
@ -273,7 +273,49 @@ ensure_web_server_prefix_configuration_exists() {
esac
shift
done
"ensure_$(web_server_type)_prefix_configuration_exists" "$app" "${args[@]}"
"ensure_$(web_server_type)_prefix_configuration_exists" "${args[@]}"
}
########################
# Ensure a web server application configuration is updated with the runtime configuration (i.e. ports)
# It serves as a wrapper for the specific web server function
# Globals:
# *
# Arguments:
# $1 - App name
# Flags:
# --hosts - Hosts to enable
# --enable-https - Update HTTPS app configuration
# --http-port - HTTP port number
# --https-port - HTTPS port number
# Returns:
# true if the configuration was updated, false otherwise
########################
web_server_update_app_configuration() {
local app="${1:?missing app}"
local -a args=("$app")
# Validate arguments
shift
while [[ "$#" -gt 0 ]]; do
case "$1" in
# Common flags
--hosts \
| --enable-https \
| --http-port \
| --https-port \
)
args+=("$1" "${2:?missing value}")
shift
;;
*)
echo "Invalid command line flag $1" >&2
return 1
;;
esac
shift
done
"$(web_server_type)_update_app_configuration" "${args[@]}"
}
########################

View File

@ -44,7 +44,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-debian-10`, `1.6.6-debian-10-r53`, `1`, `1.6.6`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-memcached/blob/1.6.6-debian-10-r53/1/debian-10/Dockerfile)
* [`1-debian-10`, `1.6.6-debian-10-r54`, `1`, `1.6.6`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-memcached/blob/1.6.6-debian-10-r54/1/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/memcached GitHub repo](https://github.com/bitnami/bitnami-docker-memcached).