Update jenkins image for CICD cluster
It was found that several important security fixes are missed in
the current version of Jenkins
Change-Id: Iad72c9f13f201b788ad4477e4f00b98f50b4d038
Related-PROD: PROD-34651
diff --git a/Dockerfile b/Dockerfile
index a398d7e..ab6e3c3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,7 +14,7 @@
&& echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > apt.conf.d/docker-gzip-indexes \
&& echo 'APT::Get::Install-Recommends "false"; APT::Get::Install-Suggests "false";' > apt.conf.d/docker-recommends
-RUN apt-get update && apt-get install -y git curl gettext-base python-virtualenv
+RUN apt-get update && apt-get -yy upgrade && apt-get install -y git curl gettext-base python-virtualenv
ENV JENKINS_HOME /var/jenkins_home
ENV JENKINS_SLAVE_AGENT_PORT 50000
@@ -50,10 +50,10 @@
# jenkins version being bundled in this docker image
ARG JENKINS_VERSION
-ENV JENKINS_VERSION ${JENKINS_VERSION:-2.150.3}
+ENV JENKINS_VERSION ${JENKINS_VERSION:-2.204.3}
# jenkins.war checksum, download will be validated using it
-ARG JENKINS_SHA=4fc2700a27a6ccc53da9d45cc8b2abd41951b361e562e1a1ead851bea61630fd
+ARG JENKINS_SHA=aa35f86e92812b511fd97f52e22b1e35965ef984f5eb60215b70b5914f9dc9ea
# Can be used to customize where jenkins.war get downloaded from
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war