diff --git a/bitnami/gitlab-runner-helper/14/debian-10/Dockerfile b/bitnami/gitlab-runner-helper/14/debian-10/Dockerfile index 3de383a94d67..765fa3154ded 100644 --- a/bitnami/gitlab-runner-helper/14/debian-10/Dockerfile +++ b/bitnami/gitlab-runner-helper/14/debian-10/Dockerfile @@ -9,9 +9,9 @@ ENV HOME="/" \ COPY prebuildfs / # Install required system packages and dependencies RUN install_packages acl ca-certificates curl git git-lfs gzip libc6 openssh-client procps tar -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "dumb-init" "1.2.5-5" --checksum 91ad4e7dce435d4d743f9d6579505034067f7ee8e9e8cfd581a22c5e5272492c -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-6" --checksum 6f8fd2267481ffbe899a7f93b7b3076cd78dd70b7b9835bed79414932a749664 -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gitlab-runner-helper" "14.8.1-0" --checksum 7bfbf32e5839d4fe616d0eb72e2c029fb8e864e183dbfc921dd592b99832a850 +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "dumb-init" "1.2.5-6" --checksum fb6f4aaea8eec3a025b7442fcc4bb3e07fa00c331cfea9680851019b516d95f5 +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1 +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gitlab-runner-helper" "14.8.2-0" --checksum aea78122d8463e0ad2947f7751e1fce0503a58aade3e098aa8493671ff0c7b41 RUN apt-get update && apt-get upgrade -y && \ rm -r /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami @@ -19,7 +19,7 @@ RUN chmod g+rwX /opt/bitnami COPY rootfs / RUN mkdir /home/gitlab-runner && chmod -R g+rwX /home/gitlab-runner && ln -s /opt/bitnami/common/bin/dumb-init /usr/bin/dumb-init && ln -s /opt/bitnami/scripts/gitlab-runner-helper/entrypoint.sh /entrypoint ENV BITNAMI_APP_NAME="gitlab-runner-helper" \ - BITNAMI_IMAGE_VERSION="14.8.1-debian-10-r1" \ + BITNAMI_IMAGE_VERSION="14.8.2-debian-10-r0" \ PATH="/opt/bitnami/common/bin:/opt/bitnami/gitlab-runner-helper/bin:$PATH" USER 1001 diff --git a/bitnami/gitlab-runner-helper/14/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/gitlab-runner-helper/14/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json index 87a58405b4d3..fe664cfb0057 100644 --- a/bitnami/gitlab-runner-helper/14/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/gitlab-runner-helper/14/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json @@ -1,23 +1,23 @@ { "dumb-init": { "arch": "amd64", - "digest": "91ad4e7dce435d4d743f9d6579505034067f7ee8e9e8cfd581a22c5e5272492c", + "digest": "fb6f4aaea8eec3a025b7442fcc4bb3e07fa00c331cfea9680851019b516d95f5", "distro": "debian-10", "type": "NAMI", - "version": "1.2.5-5" + "version": "1.2.5-6" }, "gitlab-runner-helper": { "arch": "amd64", - "digest": "7bfbf32e5839d4fe616d0eb72e2c029fb8e864e183dbfc921dd592b99832a850", + "digest": "aea78122d8463e0ad2947f7751e1fce0503a58aade3e098aa8493671ff0c7b41", "distro": "debian-10", "type": "NAMI", - "version": "14.8.1-0" + "version": "14.8.2-0" }, "gosu": { "arch": "amd64", - "digest": "6f8fd2267481ffbe899a7f93b7b3076cd78dd70b7b9835bed79414932a749664", + "digest": "d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1", "distro": "debian-10", "type": "NAMI", - "version": "1.14.0-6" + "version": "1.14.0-7" } } \ No newline at end of file diff --git a/bitnami/gitlab-runner-helper/14/debian-10/prebuildfs/opt/bitnami/scripts/libfs.sh b/bitnami/gitlab-runner-helper/14/debian-10/prebuildfs/opt/bitnami/scripts/libfs.sh index 21b964ff1cf4..1b504b1df458 100644 --- a/bitnami/gitlab-runner-helper/14/debian-10/prebuildfs/opt/bitnami/scripts/libfs.sh +++ b/bitnami/gitlab-runner-helper/14/debian-10/prebuildfs/opt/bitnami/scripts/libfs.sh @@ -74,9 +74,8 @@ is_dir_empty() { # boolean ######################### is_mounted_dir_empty() { - local -r path="${1:?missing directory}" - # Calculate real path in order to avoid issues with symlinks - local -r dir="$(realpath "$path")" + local dir="${1:?missing directory}" + if is_dir_empty "$dir" || find "$dir" -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" -exec false {} +; then true else diff --git a/bitnami/gitlab-runner-helper/README.md b/bitnami/gitlab-runner-helper/README.md index d4f928e0da74..dc24febba5ab 100644 --- a/bitnami/gitlab-runner-helper/README.md +++ b/bitnami/gitlab-runner-helper/README.md @@ -38,7 +38,7 @@ $ docker-compose up -d 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/). -* [`14`, `14-debian-10`, `14.8.1`, `14.8.1-debian-10-r1`, `latest` (14/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-gitlab-runner-helper/blob/14.8.1-debian-10-r1/14/debian-10/ Dockerfile) +* [`14`, `14-debian-10`, `14.8.2`, `14.8.2-debian-10-r0`, `latest` (14/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-gitlab-runner-helper/blob/14.8.2-debian-10-r0/14/debian-10/ Dockerfile) Subscribe to project updates by watching the [bitnami/gitlab-runner-helper GitHub repo](https://github.com/bitnami/bitnami-docker-gitlab-runner-helper).