2.3.2-debian-10-r23 release

This commit is contained in:
Bitnami Bot
2021-09-15 23:20:26 +00:00
parent 581142eb35
commit 8301eb6eeb
4 changed files with 47 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ ENV HOME="/" \
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages acl ca-certificates curl gzip libc6 procps tar
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "yq" "4.12.2-0" --checksum 37fde3fa2288bf1aeaeac74a7666256ef9a1142ea2a526ec8d1a23a90414ec50
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "yq" "4.13.0-0" --checksum b5a6446130d4b7b7592fbc0273e8186a40cf8d14d62d23b140c7fc84fae70180
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "harbor-jobservice" "2.3.2-0" --checksum 67d25c80d8e77e60e74891683f4f905f0b4e14634d7cd7eb85da9cc42daeb649
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-0" --checksum 3e6fc37ca073b10a73a804d39c2f0c028947a1a596382a4f8ebe43dfbaa3a25e
RUN chmod g+rwX /opt/bitnami
@@ -17,7 +17,7 @@ RUN chmod g+rwX /opt/bitnami
COPY rootfs /
RUN /opt/bitnami/scripts/harbor-jobservice/postunpack.sh
ENV BITNAMI_APP_NAME="harbor-jobservice" \
BITNAMI_IMAGE_VERSION="2.3.2-debian-10-r22" \
BITNAMI_IMAGE_VERSION="2.3.2-debian-10-r23" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/harbor-jobservice/bin:$PATH"
VOLUME [ "/etc/jobservice", "/var/log/jobs" ]

View File

@@ -15,9 +15,9 @@
},
"yq": {
"arch": "amd64",
"digest": "37fde3fa2288bf1aeaeac74a7666256ef9a1142ea2a526ec8d1a23a90414ec50",
"digest": "b5a6446130d4b7b7592fbc0273e8186a40cf8d14d62d23b140c7fc84fae70180",
"distro": "debian-10",
"type": "NAMI",
"version": "4.12.2-0"
"version": "4.13.0-0"
}
}

View File

@@ -141,10 +141,51 @@ am_i_root() {
if [[ "$(id -u)" = "0" ]]; then
true
else
false
false
fi
}
########################
# Print OS metadata
# Arguments:
# $1 - Flag name
# Flags:
# --id - Distro ID
# --version - Distro version
# --branch - Distro branch
# --codename - Distro codename
# Returns:
# String
#########################
get_os_metadata() {
local -r flag_name="${1:?missing flag}"
# Helper function
get_os_release_metadata() {
local -r env_name="${1:?missing environment variable name}"
(
. /etc/os-release
echo "${!env_name}"
)
}
case "$flag_name" in
--id)
get_os_release_metadata ID
;;
--version)
get_os_release_metadata VERSION_ID
;;
--branch)
get_os_release_metadata VERSION_ID | sed 's/\..*//'
;;
--codename)
get_os_release_metadata VERSION_CODENAME
;;
*)
error "Unknown flag ${flag_name}"
return 1
esac
}
########################
# Get total memory available
# Arguments:

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.3.2`, `2.3.2-debian-10-r22`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-jobservice/blob/2.3.2-debian-10-r22/2/debian-10/Dockerfile)
* [`2`, `2-debian-10`, `2.3.2`, `2.3.2-debian-10-r23`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-jobservice/blob/2.3.2-debian-10-r23/2/debian-10/Dockerfile)
# Configuration