mirror of
https://github.com/bitnami/containers.git
synced 2026-03-13 14:58:03 +08:00
2.4.1-debian-10-r63 release
This commit is contained in:
@@ -11,7 +11,7 @@ COPY prebuildfs /
|
||||
RUN install_packages acl ca-certificates curl gzip libc6 procps tar
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.1-9" --checksum 4b509978f6d0a4c3b958deeb3490241cda60e4412c138da665192631d60f70de
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ini-file" "1.4.1-6" --checksum a947aad3f8cab0ff7c76506e1ea09156dfd442a6842500d1b8203f735b0e6b84
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "harbor-core" "2.4.1-12" --checksum 04aa4168e3fb80687750c83183d9dcd6bd8e2e7a148acd667067054ee964119a
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "harbor-core" "2.4.1-13" --checksum 79b0e75133a7a72c0ad8b54fdf62b7cacaf611dd183e24830a9d0231463f91fb
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-6" --checksum 6f8fd2267481ffbe899a7f93b7b3076cd78dd70b7b9835bed79414932a749664
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
@@ -20,7 +20,7 @@ RUN chmod g+rwX /opt/bitnami
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/harbor-core/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="harbor-core" \
|
||||
BITNAMI_IMAGE_VERSION="2.4.1-debian-10-r62" \
|
||||
BITNAMI_IMAGE_VERSION="2.4.1-debian-10-r63" \
|
||||
PATH="/opt/bitnami/common/bin:/opt/bitnami/harbor-core/bin:$PATH"
|
||||
|
||||
VOLUME [ "/data", "/etc/core" ]
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
},
|
||||
"harbor-core": {
|
||||
"arch": "amd64",
|
||||
"digest": "04aa4168e3fb80687750c83183d9dcd6bd8e2e7a148acd667067054ee964119a",
|
||||
"digest": "79b0e75133a7a72c0ad8b54fdf62b7cacaf611dd183e24830a9d0231463f91fb",
|
||||
"distro": "debian-10",
|
||||
"type": "NAMI",
|
||||
"version": "2.4.1-12"
|
||||
"version": "2.4.1-13"
|
||||
},
|
||||
"ini-file": {
|
||||
"arch": "amd64",
|
||||
|
||||
@@ -74,8 +74,9 @@ is_dir_empty() {
|
||||
# boolean
|
||||
#########################
|
||||
is_mounted_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 is_dir_empty "$dir" || find "$dir" -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" -exec false {} +; then
|
||||
true
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user