[bitnami/nginx] latest image: Read-only file system fix #63507 (#63519)

* 63507: [bitnami/nginx] latest image: Read-only file system

Signed-off-by: jgournet <jgournet@bglcorp.com.au>

* Apply change to 1.24 too

---------

Signed-off-by: jgournet <jgournet@bglcorp.com.au>
This commit is contained in:
jgournet 2024-03-11 21:37:11 +11:00 committed by GitHub
parent a02ce4391a
commit d3aa9cf06d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ print_welcome_page
# bypassing the setup.sh logic. If the file already exists do not overwrite (in
# case someone mounts a configuration file in /opt/bitnami/nginx/conf)
debug "Copying files from $NGINX_DEFAULT_CONF_DIR to $NGINX_CONF_DIR"
cp -nr "$NGINX_DEFAULT_CONF_DIR"/. "$NGINX_CONF_DIR"
cp -nr "$NGINX_DEFAULT_CONF_DIR"/. "$NGINX_CONF_DIR" || true
if [[ "$1" = "/opt/bitnami/scripts/nginx/run.sh" ]]; then

View File

@ -22,7 +22,7 @@ print_welcome_page
# bypassing the setup.sh logic. If the file already exists do not overwrite (in
# case someone mounts a configuration file in /opt/bitnami/nginx/conf)
debug "Copying files from $NGINX_DEFAULT_CONF_DIR to $NGINX_CONF_DIR"
cp -nr "$NGINX_DEFAULT_CONF_DIR"/. "$NGINX_CONF_DIR"
cp -nr "$NGINX_DEFAULT_CONF_DIR"/. "$NGINX_CONF_DIR" || true
if [[ "$1" = "/opt/bitnami/scripts/nginx/run.sh" ]]; then