We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b45c44 commit 6d12089Copy full SHA for 6d12089
Dockerfile
@@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y maven ant ruby rbenv make
9
RUN wget -q -O - http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key | sudo apt-key add -
10
RUN echo deb http://pkg.jenkins-ci.org/debian-stable binary/ >> /etc/apt/sources.list
11
RUN apt-get update && apt-get install -y jenkins
12
+RUN usermod -m -d /var/jenkins_home jenkins
13
RUN mkdir -p /var/jenkins_home && chown -R jenkins /var/jenkins_home
14
ADD init.groovy /tmp/WEB-INF/init.groovy
15
RUN cd /tmp && zip -g /usr/share/jenkins/jenkins.war WEB-INF/init.groovy
0 commit comments