Skip to content

Commit 50cbc42

Browse files
committed
Fix: remove SHA1 veification, because it works only for a specific jenkins.war dowload
1 parent 57e25d3 commit 50cbc42

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

jenkins-fat/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,9 @@ ARG JENKINS_LTS_VERSION
9494
RUN echo JENKINS_LTS_VERSION=${JENKINS_LTS_VERSION}
9595

9696
#### jenkins.war checksum, download will be validated using it
97-
ARG JENKINS_SHA=1ab9577a29362ae9cb51742d9778b44a5c820a9e
9897
ARG JENKINS_URL=http://updates.jenkins-ci.org/download/war/${JENKINS_LTS_VERSION}/jenkins.war
9998
# 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
100-
RUN echo Download from ${JENKINS_URL} && \
101-
curl -fL ${JENKINS_URL} -o /usr/share/jenkins/jenkins.war && \
102-
echo "${JENKINS_SHA} /usr/share/jenkins/jenkins.war" | sha1sum -c -
99+
RUN echo Download from ${JENKINS_URL} && curl -fL ${JENKINS_URL} -o /usr/share/jenkins/jenkins.war
103100

104101
###### # Copy all Cached plugins ...
105102
COPY Plugins/${JENKINS_LTS_VERSION}/* /usr/share/jenkins/ref/plugins/

0 commit comments

Comments
 (0)