We've been using GitlabCI for a while now and we're very happy with it.

The builds have always been using Docker, but we've been using a shell
executor to start the docker images that run the actual builds[^1]. Now
I'm looking into how to move to using the docker executor. So far it
works really well! :)

We're running Gitlab-CE in docker (gitlab/gitlab-ce:8.7.5-ce.0) as well
as the GitlabCI runner (gitlab/gitlab-runner:alpine-v1.1.4).

There are two things I'm struggling with though:

1. Can I control what user is used?

  We use tools in our build that don't really like being run as root. Is
  there some way to specify the user for the docker image? (as in
  `docker run --user foo ...`)

2. Can I bind mount a volume into the build image?

  We have an existing solution for archiving the results of our builds.
  If it's possible to mount a volume in the build image I can simply
  copy the build result to the correct location.

/M

[^1]: Sort of like in 
http://docs.gitlab.com/ce/ci/docker/using_docker_build.html#use-shell-executor

-- 
Magnus Therning,  [email protected]
Cipherstone Technologies AB
Theres Svenssons gata 10, 417 55 Gothenburg, Sweden

LeBlanc's law: Later equals never.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/877fep9ms2.fsf%40sobel.cipherstone.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to