mirror of
https://github.com/InsanusMokrassar/JenkinsDocker.git
synced 2024-11-22 19:03:46 +00:00
update version
This commit is contained in:
parent
54aeffaf2d
commit
ff46816688
@ -4,10 +4,10 @@ LABEL maintainer="ovsyannikov.alexey95@gmail.com"
|
|||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN apt update && apt -y install wget gnupg2 openjdk-8-jdk zip unzip curl sudo git software-properties-common
|
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.222.4/jenkins.war &&\
|
wget http://mirrors.jenkins.io/war-stable/2.235.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 &&\
|
||||||
|
2
deploy
2
deploy
@ -9,7 +9,7 @@ function assert_success() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
version="2.222.4"
|
version="2.235.1"
|
||||||
|
|
||||||
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