Skip to content

Commit

Permalink
Rename the buil user to jenkins (1000:1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergondza committed Sep 22, 2016
1 parent 14d8d7f commit 6a72af7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ FROM ubuntu:14.04
MAINTAINER svanoort <samvanoort@gmail.com>

# User id of the build user
ARG uid=4242
ARG uid=1000
ENV uid $uid

# Group id of the build user
ARG gid=4242
ARG gid=1000
ENV gid $gid

RUN groupadd builder -g $gid && useradd builder -u $uid -g $gid -m -d /home/builder
RUN groupadd jenkins -g $gid && useradd jenkins -u $uid -g $gid -m -d /home/jenkins

# Dependencies plus vim for convenience, wget if you're trying to get fancy
RUN apt-get update \
&& apt-get install -y make unzip devscripts debhelper rpm expect createrepo ruby maven openjdk-7-jre \
&& apt-get install -y vim git \
&& apt-get install -y wget \
&& apt-get install -y wget \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Expand Down

0 comments on commit 6a72af7

Please sign in to comment.