[bitnami/gitlab-runner-helper] Symlink gitlab-runner-helper binary to expected path (#32485)

Fixes #32156

Signed-off-by: Tom Plant <21111317+pl4nty@users.noreply.github.com>
This commit is contained in:
Tom Plant 2023-05-04 00:46:05 +10:00 committed by GitHub
parent d12beb7f9c
commit 590fe55861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -40,7 +40,10 @@ RUN apt-get autoremove --purge -y curl && \
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
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 && \
ln -s /opt/bitnami/gitlab-runner-helper/bin/gitlab-runner-helper /usr/bin/gitlab-runner-helper
ENV APP_VERSION="15.11.0" \
BITNAMI_APP_NAME="gitlab-runner-helper" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/gitlab-runner-helper/bin:$PATH"