1.20.2-debian-10-r22 release

This commit is contained in:
Bitnami Bot
2021-12-11 12:53:45 +00:00
parent 48f2e67060
commit 247c867857
3 changed files with 12 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ RUN ln -sf /dev/stderr /opt/bitnami/nginx/logs/error.log
COPY rootfs /
RUN /opt/bitnami/scripts/nginx/postunpack.sh
ENV BITNAMI_APP_NAME="nginx" \
BITNAMI_IMAGE_VERSION="1.20.2-debian-10-r21" \
BITNAMI_IMAGE_VERSION="1.20.2-debian-10-r22" \
NGINX_ENABLE_CUSTOM_PORTS="no" \
NGINX_HTTPS_PORT_NUMBER="" \
NGINX_HTTP_PORT_NUMBER="" \

View File

@@ -20,8 +20,13 @@
owned_by() {
local path="${1:?path is missing}"
local owner="${2:?owner is missing}"
local group="${3:-}"
chown "$owner":"$owner" "$path"
if [[ -n $group ]]; then
chown "$owner":"$group" "$path"
else
chown "$owner":"$owner" "$path"
fi
}
########################
@@ -34,11 +39,12 @@ owned_by() {
#########################
ensure_dir_exists() {
local dir="${1:?directory is missing}"
local owner="${2:-}"
local owner_user="${2:-}"
local owner_group="${3:-}"
mkdir -p "${dir}"
if [[ -n $owner ]]; then
owned_by "$dir" "$owner"
if [[ -n $owner_user ]]; then
owned_by "$dir" "$owner_user" "$owner_group"
fi
}

View File

@@ -49,7 +49,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
* [`1.21`, `1.21-debian-10`, `1.21.4`, `1.21.4-debian-10-r35`, `latest` (1.21/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-nginx/blob/1.21.4-debian-10-r35/1.21/debian-10/Dockerfile)
* [`1.20`, `1.20-debian-10`, `1.20.2`, `1.20.2-debian-10-r21` (1.20/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-nginx/blob/1.20.2-debian-10-r21/1.20/debian-10/Dockerfile)
* [`1.20`, `1.20-debian-10`, `1.20.2`, `1.20.2-debian-10-r22` (1.20/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-nginx/blob/1.20.2-debian-10-r22/1.20/debian-10/Dockerfile)
## Get this image