2.4.0-debian-10-r5 release

This commit is contained in:
Bitnami Bot
2021-11-02 17:09:59 +00:00
parent bc09277ad1
commit efc86458a1
4 changed files with 33 additions and 32 deletions

View File

@@ -9,8 +9,8 @@ ENV HOME="/" \
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages acl ca-certificates curl gzip libc6 libgeoip1 libpcre3 libssl1.1 procps tar zlib1g
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "nginx" "1.21.3-0" --checksum 2e36afe1b4930d427d96b8321d919202751933a109cdd260fee432730342994a
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.0-3" --checksum 8179ad1371c9a7d897fe3b1bf53bbe763f94edafef19acad2498dd48b3674efe
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "nginx" "1.21.4-0" --checksum 9aaf0999079e60bfe7aa79f35499e340140d1ac1c68e164f009226913dae4604
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.1-0" --checksum d93d6077953485aaec2d45217fbd9f520bbbbab7933d068dbb86e9107a530e31
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "harbor" "2.4.0-0" --checksum 1d7199ba6de35c7599a1ef60cede28ed3f390a41226c4303d692a2eb647a1a50
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-0" --checksum 3e6fc37ca073b10a73a804d39c2f0c028947a1a596382a4f8ebe43dfbaa3a25e
RUN chmod g+rwX /opt/bitnami
@@ -21,7 +21,7 @@ COPY rootfs /
RUN /opt/bitnami/scripts/nginx/postunpack.sh
RUN /opt/bitnami/scripts/harbor-portal/postunpack.sh
ENV BITNAMI_APP_NAME="harbor-portal" \
BITNAMI_IMAGE_VERSION="2.4.0-debian-10-r4" \
BITNAMI_IMAGE_VERSION="2.4.0-debian-10-r5" \
NGINX_ENABLE_CUSTOM_PORTS="no" \
NGINX_HTTPS_PORT_NUMBER="" \
NGINX_HTTP_PORT_NUMBER="" \

View File

@@ -15,16 +15,16 @@
},
"nginx": {
"arch": "amd64",
"digest": "2e36afe1b4930d427d96b8321d919202751933a109cdd260fee432730342994a",
"digest": "9aaf0999079e60bfe7aa79f35499e340140d1ac1c68e164f009226913dae4604",
"distro": "debian-10",
"type": "NAMI",
"version": "1.21.3-0"
"version": "1.21.4-0"
},
"render-template": {
"arch": "amd64",
"digest": "8179ad1371c9a7d897fe3b1bf53bbe763f94edafef19acad2498dd48b3674efe",
"digest": "d93d6077953485aaec2d45217fbd9f520bbbbab7933d068dbb86e9107a530e31",
"distro": "debian-10",
"type": "NAMI",
"version": "1.0.0-3"
"version": "1.0.1-0"
}
}

View File

@@ -50,8 +50,9 @@ ensure_dir_exists() {
# boolean
#########################
is_dir_empty() {
local dir="${1:?missing directory}"
local -r path="${1:?missing directory}"
# Calculate real path in order to avoid issues with symlinks
local -r dir="$(realpath "$path")"
if [[ ! -e "$dir" ]] || [[ -z "$(ls -A "$dir")" ]]; then
true
else
@@ -88,7 +89,7 @@ is_file_writable() {
local dir
dir="$(dirname "$file")"
if [[ ( -f "$file" && -w "$file" ) || ( ! -f "$file" && -d "$dir" && -w "$dir" ) ]]; then
if [[ (-f "$file" && -w "$file") || (! -f "$file" && -d "$dir" && -w "$dir") ]]; then
true
else
false
@@ -136,31 +137,31 @@ configure_permissions_ownership() {
shift 1
while [ "$#" -gt 0 ]; do
case "$1" in
-f|--file-mode)
shift
file_mode="${1:?missing mode for files}"
;;
-d|--dir-mode)
shift
dir_mode="${1:?missing mode for directories}"
;;
-u|--user)
shift
user="${1:?missing user}"
;;
-g|--group)
shift
group="${1:?missing group}"
;;
*)
echo "Invalid command line flag $1" >&2
return 1
;;
-f | --file-mode)
shift
file_mode="${1:?missing mode for files}"
;;
-d | --dir-mode)
shift
dir_mode="${1:?missing mode for directories}"
;;
-u | --user)
shift
user="${1:?missing user}"
;;
-g | --group)
shift
group="${1:?missing group}"
;;
*)
echo "Invalid command line flag $1" >&2
return 1
;;
esac
shift
done
read -r -a filepaths <<< "$paths"
read -r -a filepaths <<<"$paths"
for p in "${filepaths[@]}"; do
if [[ -e "$p" ]]; then
if [[ -n $dir_mode ]]; then

View File

@@ -42,7 +42,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.0`, `2.4.0-debian-10-r4`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-portal/blob/2.4.0-debian-10-r4/2/debian-10/Dockerfile)
* [`2`, `2-debian-10`, `2.4.0`, `2.4.0-debian-10-r5`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-portal/blob/2.4.0-debian-10-r5/2/debian-10/Dockerfile)
# Configuration