Skip to content

Create gitlab-runner user on alpine

What does this MR do?

Adds the creation of gitlab-runner user in the alpine Docker image.

Why was this MR needed?

The alpine Docker image runs the runner as "gitlab-runner" user. But it fails because such a user does not exist. Therefore, we need to create the gitlab-runner user.

The user needs to be created before VOLUME so that its home directory will get the right ownership.

Are there points in the code the reviewer needs to double check?

None to my knowledge.

Does this MR meet the acceptance criteria?

  • Documentation created/updated: no changes needed
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

Closes #1785 (closed)

Merge request reports