Skip to content

Commit

Permalink
Make sure cloud-slave has access to docker commands (atteo#11)
Browse files Browse the repository at this point in the history
Docker socket may be exposed with different GID than
the one used inside a container. Therefore if we want
to eliminate problems with access rights it is better
to run all processes inside container as root.
  • Loading branch information
barti271 authored and sentinelt committed Jun 23, 2017
1 parent 65d7a93 commit 722f794
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion images/cloud-slave/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@ RUN curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE
RUN curl -L https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && \
chmod +x /usr/local/bin/kubectl

USER jenkins

0 comments on commit 722f794

Please sign in to comment.