diff --git a/bitnami/gitlab-runner-helper/14/debian-10/Dockerfile b/bitnami/gitlab-runner-helper/14/debian-10/Dockerfile index ef5bb101a26c..2f7265f76dbf 100644 --- a/bitnami/gitlab-runner-helper/14/debian-10/Dockerfile +++ b/bitnami/gitlab-runner-helper/14/debian-10/Dockerfile @@ -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.0-debian-10-r2" \ + BITNAMI_IMAGE_VERSION="14.8.0-debian-10-r3" \ 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/scripts/libfs.sh b/bitnami/gitlab-runner-helper/14/debian-10/prebuildfs/opt/bitnami/scripts/libfs.sh index 1b504b1df458..21b964ff1cf4 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,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 diff --git a/bitnami/gitlab-runner-helper/README.md b/bitnami/gitlab-runner-helper/README.md index ad4356b98e9d..e1bc416616c7 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.0`, `14.8.0-debian-10-r2`, `latest` (14/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-gitlab-runner-helper/blob/14.8.0-debian-10-r2/14/debian-10/ Dockerfile) +* [`14`, `14-debian-10`, `14.8.0`, `14.8.0-debian-10-r3`, `latest` (14/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-gitlab-runner-helper/blob/14.8.0-debian-10-r3/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).