2.2.0-debian-10-r11 release
This commit is contained in:
parent
ea09749eb8
commit
9040656426
|
|
@ -16,7 +16,7 @@ RUN chmod g+rwX /opt/bitnami
|
|||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/harbor-registry/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="harbor-registry" \
|
||||
BITNAMI_IMAGE_VERSION="2.2.0-debian-10-r10" \
|
||||
BITNAMI_IMAGE_VERSION="2.2.0-debian-10-r11" \
|
||||
PATH="/opt/bitnami/harbor-registry/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
VOLUME [ "/etc/registry", "/storage", "/var/lib/registry" ]
|
||||
|
|
|
|||
|
|
@ -103,6 +103,8 @@ generate_cron_conf() {
|
|||
local run_as="root"
|
||||
local schedule="* * * * *"
|
||||
|
||||
local clean="true"
|
||||
|
||||
# Parse optional CLI flags
|
||||
shift 2
|
||||
while [[ "$#" -gt 0 ]]; do
|
||||
|
|
@ -115,6 +117,9 @@ generate_cron_conf() {
|
|||
shift
|
||||
schedule="$1"
|
||||
;;
|
||||
--no-clean)
|
||||
clean="false"
|
||||
;;
|
||||
*)
|
||||
echo "Invalid command line flag ${1}" >&2
|
||||
return 1
|
||||
|
|
@ -124,7 +129,11 @@ generate_cron_conf() {
|
|||
done
|
||||
|
||||
mkdir -p /etc/cron.d
|
||||
echo "${schedule} ${run_as} ${cmd}" > /etc/cron.d/"$service_name"
|
||||
if "$clean"; then
|
||||
echo "${schedule} ${run_as} ${cmd}" > /etc/cron.d/"$service_name"
|
||||
else
|
||||
echo "${schedule} ${run_as} ${cmd}" >> /etc/cron.d/"$service_name"
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
|
|
|
|||
|
|
@ -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.2.0`, `2.2.0-debian-10-r10`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-registry/blob/2.2.0-debian-10-r10/2/debian-10/Dockerfile)
|
||||
* [`2`, `2-debian-10`, `2.2.0`, `2.2.0-debian-10-r11`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-registry/blob/2.2.0-debian-10-r11/2/debian-10/Dockerfile)
|
||||
|
||||
# Configuration
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue