2121# tweaking unrelated aspects of the image.
2222
2323# start with a minimal image into which we can download remote tarballs
24- FROM ubuntu:18 .04 AS BASE_IMAGE
24+ FROM ubuntu:22 .04 AS BASE_IMAGE
2525SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
2626
2727RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
2828 DEBIAN_FRONTEND=noninteractive apt-get -qq install --no-install-recommends -y \
29- ca-certificates=20180409 \
30- curl='7.58 .0-*' \
31- locales='2.27 -*' \
29+ ca-certificates=20211016 \
30+ curl='7.81 .0-*' \
31+ locales='2.35 -*' \
3232# #
3333# install dependencies from system packages.
3434# be careful not to install any system packages (i.e., findbugs) that will
3535# pull in the default-jre.
3636#
3737# bring the base image into conformance with the expectations imposed by
3838# Yetus and our personality file of what a build environment looks like.
39- bash='4.4.18 -*' \
40- build-essential=12.4ubuntu1 \
41- diffutils='1:3.6 -*' \
42- git='1:2.17 .1-*' \
43- rsync='3.1.2 -*' \
44- tar='1.29b -*' \
45- wget='1.19.4 -*' \
39+ bash='5.1 -*' \
40+ build-essential=12.9ubuntu3 \
41+ diffutils='1:3.8 -*' \
42+ git='1:2.34 .1-*' \
43+ rsync='3.2.3 -*' \
44+ tar='1.34+dfsg -*' \
45+ wget='1.21.2 -*' \
4646# install the dependencies required in order to enable the sundry precommit
4747# checks/features provided by Yetus plugins.
48- bats='0.4.0 -*' \
49- libperl-critic-perl='1.130 -*' \
50- python3='3.6.7 -*' \
51- python3-pip='9 .0.1 -*' \
52- python3-setuptools='39.0.1 -*' \
53- ruby=1:2.5.1 \
54- ruby-dev=1:2.5.1 \
55- shellcheck='0.4.6 -*' \
48+ bats='1.2.1 -*' \
49+ libperl-critic-perl='1.140 -*' \
50+ python3='3.10.6 -*' \
51+ python3-pip='22 .0.2+dfsg -*' \
52+ python3-setuptools='59.6.0 -*' \
53+ ruby=1:3.0* \
54+ ruby-dev=1:3.0* \
55+ shellcheck='0.8.0 -*' \
5656 && \
5757 apt-get clean && \
5858 rm -rf /var/lib/apt/lists/*
5959
6060RUN python3 -mpip install --upgrade pip && \
61- python3 -mpip install pylint==2.4.4
61+ python3 -mpip install pylint==2.15.5
6262
6363RUN gem install --no-document \
64- rake:13.0.1 \
65- rubocop:0.80.0 \
64+ rake:13.0.3 \
65+ rubocop:1.37.1 \
6666 ruby-lint:2.3.1
6767
6868RUN locale-gen en_US.UTF-8
@@ -81,31 +81,31 @@ RUN curl --location --fail --silent --show-error --output /tmp/spotbugs.tgz "${S
8181 echo "${SPOTBUGS_SHA512} */tmp/spotbugs.tgz" | sha512sum -c -
8282
8383FROM BASE_IMAGE AS HADOLINT_DOWNLOAD_IMAGE
84- ENV HADOLINT_VERSION '1.17.5 '
84+ ENV HADOLINT_VERSION '2.10.0 '
8585ENV HADOLINT_URL "https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64"
86- ENV HADOLINT_SHA256 '20dd38bc0602040f19268adc14c3d1aae11af27b463af43f3122076baf827a35 '
86+ ENV HADOLINT_SHA512 '4816c95243bedf15476d2225f487fc17465495fb2031e1a4797d82a26db83a1edb63e4fed084b80cef17d5eb67eb45508caadaf7cd0252fb061187113991a338 '
8787SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
8888RUN curl --location --fail --silent --show-error --output /tmp/hadolint "${HADOLINT_URL}" && \
89- echo "${HADOLINT_SHA256 } */tmp/hadolint" | sha256sum -c -
89+ echo "${HADOLINT_SHA512 } */tmp/hadolint" | sha512sum -c -
9090
9191FROM BASE_IMAGE AS MAVEN_DOWNLOAD_IMAGE
92- ENV MAVEN_VERSION='3.6.3 '
92+ ENV MAVEN_VERSION='3.8.6 '
9393ENV MAVEN_URL "https://archive.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz"
94- ENV MAVEN_SHA512 'c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0 '
94+ ENV MAVEN_SHA512 'f790857f3b1f90ae8d16281f902c689e4f136ebe584aba45e4b1fa66c80cba826d3e0e52fdd04ed44b4c66f6d3fe3584a057c26dfcac544a60b301e6d0f91c26 '
9595SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
9696RUN curl --location --fail --silent --show-error --output /tmp/maven.tar.gz "${MAVEN_URL}" && \
9797 echo "${MAVEN_SHA512} */tmp/maven.tar.gz" | sha512sum -c -
9898
9999FROM BASE_IMAGE AS OPENJDK8_DOWNLOAD_IMAGE
100- ENV OPENJDK8_URL 'https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01 /OpenJDK8U-jdk_x64_linux_hotspot_8u345b01 .tar.gz'
101- ENV OPENJDK8_SHA256 'ed6c9db3719895584fb1fd69fc79c29240977675f26631911c5a1dbce07b7d58 '
100+ ENV OPENJDK8_URL 'https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u352-b08 /OpenJDK8U-jdk_x64_linux_hotspot_8u352b08 .tar.gz'
101+ ENV OPENJDK8_SHA256 '1633bd7590cb1cd72f5a1378ae8294451028b274d798e2a4ac672059a2f00fee '
102102SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
103103RUN curl --location --fail --silent --show-error --output /tmp/adoptopenjdk8.tar.gz "${OPENJDK8_URL}" && \
104104 echo "${OPENJDK8_SHA256} */tmp/adoptopenjdk8.tar.gz" | sha256sum -c -
105105
106106FROM BASE_IMAGE AS OPENJDK11_DOWNLOAD_IMAGE
107- ENV OPENJDK11_URL 'https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.16.1%2B1 /OpenJDK11U-jdk_x64_linux_hotspot_11.0.16.1_1 .tar.gz'
108- ENV OPENJDK11_SHA256 '5f6b513757d386352cf91514ed5859d1ab59364b4453e1f1c57152ba2039b8e2 '
107+ ENV OPENJDK11_URL 'https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.17%2B8 /OpenJDK11U-jdk_x64_linux_hotspot_11.0.17_8 .tar.gz'
108+ ENV OPENJDK11_SHA256 'b8d46ed08ef4859476fe6421a7690d899ed83dce63f13fd894f994043177ef3c '
109109SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
110110RUN curl --location --fail --silent --show-error --output /tmp/adoptopenjdk11.tar.gz "${OPENJDK11_URL}" && \
111111 echo "${OPENJDK11_SHA256} */tmp/adoptopenjdk11.tar.gz" | sha256sum -c -
0 commit comments