2.4.2-debian-10-r9 release

This commit is contained in:
Bitnami Bot
2022-03-26 11:34:41 +00:00
parent 9878e22478
commit e1f1f3cc5a
5 changed files with 31 additions and 30 deletions

View File

@@ -24,7 +24,7 @@ RUN /opt/bitnami/scripts/nginx/postunpack.sh
RUN /opt/bitnami/scripts/harbor-portal/postunpack.sh
ENV APP_VERSION="2.4.2" \
BITNAMI_APP_NAME="harbor-portal" \
BITNAMI_IMAGE_VERSION="2.4.2-debian-10-r8" \
BITNAMI_IMAGE_VERSION="2.4.2-debian-10-r9" \
NGINX_HTTPS_PORT_NUMBER="" \
NGINX_HTTP_PORT_NUMBER="" \
PATH="/opt/bitnami/nginx/sbin:/opt/bitnami/common/bin:$PATH"

View File

@@ -392,10 +392,6 @@ web_server_update_app_configuration() {
--hosts \
| --server-name \
| --server-aliases \
| --enable-http \
| --enable-https \
| --disable-http \
| --disable-https \
| --http-port \
| --https-port \
)

View File

@@ -486,31 +486,35 @@ nginx_update_app_configuration() {
shift
while [[ "$#" -gt 0 ]]; do
case "$1" in
--hosts | \
--server-aliases)
var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
shift
read -r -a "$var_name" <<<"$1"
;;
--hosts \
| --server-aliases \
)
var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
shift
read -r -a "$var_name" <<<"$1"
;;
# Common flags
--enable-http \
| --enable-https \
| --disable-http \
| --disable-https \
)
var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
declare "${var_name}=yes"
;;
--server-name \
| --http-port \
| --https-port \
)
var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
shift
declare "${var_name}=${1}"
;;
# Common flags
--server-name | \
--enable-http | \
--enable-https | \
--disable-http | \
--disable-https | \
--http-port | \
--https-port)
var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
shift
declare "${var_name}=${1}"
;;
*)
echo "Invalid command line flag $1" >&2
return 1
;;
*)
echo "Invalid command line flag $1" >&2
return 1
;;
esac
shift
done

View File

@@ -9,6 +9,7 @@
# 4. Environment variables set externally (i.e. current Bash context/Dockerfile/userdata)
# Load logging library
# shellcheck disable=SC1090,SC1091
. /opt/bitnami/scripts/liblog.sh
export BITNAMI_ROOT_DIR="/opt/bitnami"

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/).
* [`2`, `2-debian-10`, `2.4.2`, `2.4.2-debian-10-r8`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-portal/blob/2.4.2-debian-10-r8/2/debian-10/Dockerfile)
* [`2`, `2-debian-10`, `2.4.2`, `2.4.2-debian-10-r9`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-portal/blob/2.4.2-debian-10-r9/2/debian-10/Dockerfile)
## Configuration