mirror of
https://github.com/InsanusMokrassar/JenkinsDocker.git
synced 2024-11-23 03:08:43 +00:00
Update Dockerfile
This commit is contained in:
parent
bb970f5341
commit
1f6068ddd0
@ -12,7 +12,7 @@ RUN mkdir -p /var/jenkins_home/jenkins && cd /var/jenkins_home/ &&\
|
|||||||
useradd -s /bin/bash -G sudo -d /var/jenkins_home -u 1000 jenkins &&\
|
useradd -s /bin/bash -G sudo -d /var/jenkins_home -u 1000 jenkins &&\
|
||||||
chown -R jenkins:jenkins /var/jenkins_home &&\
|
chown -R jenkins:jenkins /var/jenkins_home &&\
|
||||||
chmod 777 /tmp
|
chmod 777 /tmp
|
||||||
RUN wget http://mirrors.jenkins.io/war-stable/2.263.4/jenkins.war &&\
|
RUN wget http://mirrors.jenkins.io/war-stable/2.277.1/jenkins.war &&\
|
||||||
chown 1000:1000 jenkins.war && mv jenkins.war /var/jenkins_home/
|
chown 1000:1000 jenkins.war && mv jenkins.war /var/jenkins_home/
|
||||||
|
|
||||||
VOLUME /var/jenkins_home/jenkins
|
VOLUME /var/jenkins_home/jenkins
|
||||||
|
Loading…
Reference in New Issue
Block a user