Пример Dockerfile для сборки gitlab-runner


Ответы
FROM debian:buster

RUN apt-get -y update && apt-get -y install git wget

RUN wget https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh
RUN bash script.deb.sh
RUN apt-get -y install gitlab-runner

CMD ["gitlab-runner", "run", "--user=gitlab-runner", "--working-directory=/home/gitlab-runner"]
VOLUME ["/etc/gitlab-runner", "/home/gitlab-runner"]

Возможно будут интересны и другие вопросы
© RemiZOffAlex