Skip to content
Snippets Groups Projects
Select Git revision
  • 5fc0ae113034cf2788f46333d7338799ed3b4e4f
  • master default
2 results

Dockerfile

Blame
    • nimrod's avatar
      5fc0ae11
      Refactor. · 5fc0ae11
      nimrod authored
      Move the runner specific files to the `runner` directory.
      5fc0ae11
      History
      Refactor.
      nimrod authored
      Move the runner specific files to the `runner` directory.
    Dockerfile 440 B
    FROM gitlab/gitlab-runner:alpine-v13.6.0-rc1
    RUN apk add --no-cache --update docker
    COPY --chown=root:root entrypoint /entrypoint0
    ENV DOCKER_VOLUMES=/var/run/docker.sock:/var/run/docker.sock \
        RUNNER_EXECUTOR=docker \
        DOCKER_PULL_POLICY=if-not-present
    ENTRYPOINT [ "/entrypoint0" ]
    CMD [ "run", "--user=gitlab-runner", "--working-directory=/home/gitlab-runner" ]
    HEALTHCHECK CMD gitlab-runner list 2>&1 | grep -qF "$CI_SERVER_URL"