2.2.0-debian-10-r0 release
This commit is contained in:
parent
19ef4a160d
commit
8b7362298a
|
|
@ -9,9 +9,9 @@ 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.19.7-1" --checksum 340ad9915acd66537b422c9819350f783aeca7001dfe7f6a7e043562276c85ed
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "nginx" "1.19.8-0" --checksum c15343dede5342159612a674786c27c867d7c45678eea99faba8d1fca4cc5064
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.0-3" --checksum 8179ad1371c9a7d897fe3b1bf53bbe763f94edafef19acad2498dd48b3674efe
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "harbor" "2.1.3-0" --checksum 32499e011ec637aa6add52be034afdc1731d50fb519042abc0eb02d8a1c762b8
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "harbor" "2.2.0-0" --checksum cd96a31970cd327b3ea1ccd2314917fd903fa395cb78e288e8d162ec113b3e6d
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.12.0-2" --checksum 4d858ac600c38af8de454c27b7f65c0074ec3069880cb16d259a6e40a46bbc50
|
||||
RUN chmod g+rwX /opt/bitnami
|
||||
RUN ln -sf /dev/stdout /opt/bitnami/nginx/logs/access.log
|
||||
|
|
@ -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.1.3-debian-10-r41" \
|
||||
BITNAMI_IMAGE_VERSION="2.2.0-debian-10-r0" \
|
||||
NGINX_ENABLE_CUSTOM_PORTS="no" \
|
||||
NGINX_HTTPS_PORT_NUMBER="" \
|
||||
NGINX_HTTP_PORT_NUMBER="" \
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ services:
|
|||
- JOBSERVICE_SECRET=CHANGEME
|
||||
- ADMIRAL_URL=
|
||||
- WITH_NOTARY=False
|
||||
- WITH_CLAIR=False
|
||||
- WITH_CHARTMUSEUM=True
|
||||
- CHART_REPOSITORY_URL=http://chartmuseum:8080
|
||||
- CORE_URL=http://core:8080
|
||||
|
|
|
|||
|
|
@ -8,17 +8,17 @@
|
|||
},
|
||||
"harbor": {
|
||||
"arch": "amd64",
|
||||
"digest": "32499e011ec637aa6add52be034afdc1731d50fb519042abc0eb02d8a1c762b8",
|
||||
"digest": "cd96a31970cd327b3ea1ccd2314917fd903fa395cb78e288e8d162ec113b3e6d",
|
||||
"distro": "debian-10",
|
||||
"type": "NAMI",
|
||||
"version": "2.1.3-0"
|
||||
"version": "2.2.0-0"
|
||||
},
|
||||
"nginx": {
|
||||
"arch": "amd64",
|
||||
"digest": "340ad9915acd66537b422c9819350f783aeca7001dfe7f6a7e043562276c85ed",
|
||||
"digest": "c15343dede5342159612a674786c27c867d7c45678eea99faba8d1fca4cc5064",
|
||||
"distro": "debian-10",
|
||||
"type": "NAMI",
|
||||
"version": "1.19.7-1"
|
||||
"version": "1.19.8-0"
|
||||
},
|
||||
"render-template": {
|
||||
"arch": "amd64",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
########################
|
||||
|
|
|
|||
|
|
@ -40,7 +40,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.1.3`, `2.1.3-debian-10-r41`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-portal/blob/2.1.3-debian-10-r41/2/debian-10/Dockerfile)
|
||||
* [`2`, `2-debian-10`, `2.2.0`, `2.2.0-debian-10-r0`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-portal/blob/2.2.0-debian-10-r0/2/debian-10/Dockerfile)
|
||||
|
||||
# Configuration
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ services:
|
|||
- JOBSERVICE_SECRET=CHANGEME
|
||||
- ADMIRAL_URL=
|
||||
- WITH_NOTARY=False
|
||||
- WITH_CLAIR=False
|
||||
- WITH_CHARTMUSEUM=True
|
||||
- CHART_REPOSITORY_URL=http://chartmuseum:8080
|
||||
- CORE_URL=http://core:8080
|
||||
|
|
|
|||
Loading…
Reference in New Issue