mirror of
https://github.com/InsanusMokrassar/JenkinsDocker.git
synced 2024-11-23 03:08:43 +00:00
2.249.2
This commit is contained in:
parent
3b159aa3fc
commit
ff16404a54
@ -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.249.1/jenkins.war &&\
|
wget http://mirrors.jenkins.io/war-stable/2.249.2/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 &&\
|
||||||
|
2
deploy
2
deploy
@ -9,7 +9,7 @@ function assert_success() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
version="2.249.1"
|
version="2.249.2"
|
||||||
|
|
||||||
assert_success docker build -t jenkins:$version ./
|
assert_success docker build -t jenkins:$version ./
|
||||||
assert_success docker tag jenkins:$version insanusmokrassar/jenkins:$version
|
assert_success docker tag jenkins:$version insanusmokrassar/jenkins:$version
|
||||||
|
Loading…
Reference in New Issue
Block a user