Remove GitLab Runner from containers
(Text taken from melissa/melissa#47)
In melissa/melissa#27 I asked for Docker images based on the official GitLab Runner Docker image because I understood the documentation to mean that the gitlab-runner
must be present in the Docker image. In the documentation for custom GitLab Runner executors it says in the section Prerequisite software for running a Job that
The user must set up the environment, including the following that must be present in the
PATH
:
- Git: Used to clone the repositories.
- Git LFS: Pulls any LFS objects that might be in the repository.
- GitLab Runner: Used to download/update artifacts and cache.
The "environment" in this paragraph refers to the host, not to the container environment.
Thus, there is no need to have gitlab-runner
inside the Docker images.