Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-image
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tools
docker-image
Commits
c08476b1
Commit
c08476b1
authored
May 03, 2018
by
caiyanming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
predownload tini and jenkins.war
Change-Id: Ie03ef8b7646dedbc9cc010ccdcd05a56421d521f
parent
30dbe4d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
jenkins/Dockerfile
jenkins/Dockerfile
+6
-4
No files found.
jenkins/Dockerfile
View file @
c08476b1
...
...
@@ -60,8 +60,9 @@ ENV TINI_VERSION 0.14.0
ENV
TINI_SHA 6c41ec7d33e857d4779f14d9c74924cab0c7973485d2972419a3b7c7620ff5fd
# Use tini as subreaper in Docker container to adopt zombie processes
RUN
curl
-fsSL
https://github.com/krallin/tini/releases/download/v
${
TINI_VERSION
}
/tini-static-amd64
-o
/bin/tini
&&
chmod
+x /bin/tini
\
&&
echo
"
$TINI_SHA
/bin/tini"
|
sha256sum
-c
-
# RUN curl -fsSL https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini-static-amd64 -o /bin/tini && chmod +x /bin/tini \
# && echo "$TINI_SHA /bin/tini" | sha256sum -c -
COPY
bin/tini /bin/tini
COPY
init.groovy /usr/share/jenkins/ref/init.groovy.d/tcp-slave-agent-port.groovy
...
...
@@ -77,8 +78,9 @@ ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-w
# could use ADD but this one does not check Last-Modified header neither does it allow to control checksum
# see https://github.com/docker/docker/issues/8331
RUN
curl
-fsSL
${
JENKINS_URL
}
-o
/usr/share/jenkins/jenkins.war
\
&&
echo
"
${
JENKINS_SHA
}
/usr/share/jenkins/jenkins.war"
|
sha256sum
-c
-
# RUN curl -fsSL ${JENKINS_URL} -o /usr/share/jenkins/jenkins.war \
# && echo "${JENKINS_SHA} /usr/share/jenkins/jenkins.war" | sha256sum -c -
COPY
jenkins-war-2.107.2.war /usr/share/jenkins/jenkins.war
ENV
JENKINS_UC https://updates.jenkins.io
ENV
JENKINS_UC_EXPERIMENTAL=https://updates.jenkins.io/experimental
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment