mirror of
https://github.com/InsanusMokrassar/JenkinsDocker.git
synced 2024-11-22 19:03:46 +00:00
update up to 2.235.3
This commit is contained in:
parent
a48c5d933a
commit
59d42d8065
@ -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.2/jenkins.war &&\
|
wget http://mirrors.jenkins.io/war-stable/2.235.3/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.235.2"
|
version="2.235.3"
|
||||||
|
|
||||||
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