summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-06-10 06:12:15 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-06-10 06:12:15 +0200
commit0acc58958323e4e3418f35b84fe7573910d07cf5 (patch)
treee34645ffc226b70dad416a10b2be508aef7ce53f
parent44a658a87d5d764265ed3c5d703fddd6c1c7614d (diff)
openjdk-runtime: Upgrade from UBI 8 to UBI 9.
Change-Id: I31c9da30143abdd6a098a85f0b86cfd740a9059a
-rw-r--r--openjdk-runtime/Dockerfile4
-rwxr-xr-xopenjdk-runtime/build4
2 files changed, 4 insertions, 4 deletions
diff --git a/openjdk-runtime/Dockerfile b/openjdk-runtime/Dockerfile
index 80d5b05..4672be7 100644
--- a/openjdk-runtime/Dockerfile
+++ b/openjdk-runtime/Dockerfile
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
-FROM registry.access.redhat.com/ubi8/ubi-minimal:latest AS ubi-minimal
+FROM registry.access.redhat.com/ubi9/ubi-minimal:latest AS ubi-minimal
# Add OpenJDK (complete).
ADD jdk-dist/latest.tar.gz /jdk
@@ -23,7 +23,7 @@ RUN microdnf --assumeyes --nodocs install findutils
RUN find /java -exec touch --date=@0 '{}' ';'
# Build the final image.
-FROM registry.access.redhat.com/ubi8/ubi-micro:latest
+FROM registry.access.redhat.com/ubi9/ubi-micro:latest
COPY --from=ubi-minimal /lib64/libz.so.1 /lib64/
COPY --from=ubi-minimal /java /java
ENV JAVA_HOME=/java
diff --git a/openjdk-runtime/build b/openjdk-runtime/build
index 01347d7..0719996 100755
--- a/openjdk-runtime/build
+++ b/openjdk-runtime/build
@@ -17,8 +17,8 @@ if [[ "${use_kaniko}" == yes ]]; then
--mount type=bind,src="$PWD",target=/workspace \
gcr.io/kaniko-project/warmer:latest \
--cache-dir=/workspace/cache \
- --image=registry.access.redhat.com/ubi8/ubi-micro:latest \
- --image=registry.access.redhat.com/ubi8/ubi-minimal:latest
+ --image=registry.access.redhat.com/ubi9/ubi-micro:latest \
+ --image=registry.access.redhat.com/ubi9/ubi-minimal:latest
docker run \
--mount type=bind,src="$PWD",target=/workspace \