This commit is contained in:
InsanusMokrassar 2020-09-23 01:05:55 +06:00 committed by GitHub
parent fdf54225df
commit 0ef2c38df3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ USER root
RUN apt update && apt -y install wget gnupg2 openjdk-8-jdk zip unzip curl sudo git software-properties-common pass RUN apt update && apt -y install wget gnupg2 openjdk-8-jdk zip unzip curl sudo git software-properties-common pass
RUN mkdir -p /var/jenkins_home/jenkins && cd /var/jenkins_home/ &&\ RUN mkdir -p /var/jenkins_home/jenkins && cd /var/jenkins_home/ &&\
wget http://mirrors.jenkins.io/war-stable/2.235.4/jenkins.war &&\ wget http://mirrors.jenkins.io/war-stable/2.249.1/jenkins.war &&\
chown 1000:1000 jenkins.war chown 1000:1000 jenkins.war
RUN useradd -s /bin/bash -G sudo -d /var/jenkins_home -u 1000 jenkins && chown -R jenkins:jenkins /var/jenkins_home &&\ RUN useradd -s /bin/bash -G sudo -d /var/jenkins_home -u 1000 jenkins && chown -R jenkins:jenkins /var/jenkins_home &&\