mirror of
https://github.com/InsanusMokrassar/JenkinsDocker.git
synced 2024-11-22 10:53:46 +00:00
Update Dockerfile
This commit is contained in:
parent
e580d809e6
commit
3b159aa3fc
@ -15,11 +15,9 @@ RUN useradd -s /bin/bash -G sudo -d /var/jenkins_home -u 1000 jenkins && chown -
|
||||
|
||||
VOLUME /var/jenkins_home/jenkins
|
||||
|
||||
RUN chown -R 1000:1000 /var/jenkins_home
|
||||
COPY ./run /var/jenkins_home/
|
||||
RUN chown -R 1000:1000 /var/jenkins_home && chmod +x /var/jenkins_home/run
|
||||
|
||||
USER 1000
|
||||
|
||||
COPY ./run /var/jenkins_home/
|
||||
RUN chmod +x /var/jenkins_home/run
|
||||
|
||||
ENTRYPOINT /var/jenkins_home/run
|
||||
|
Loading…
Reference in New Issue
Block a user