Update to UBI 10.

Change-Id: I3f9e505877a9a000d66461509413e137c2eda681
diff --git a/openjdk-runtime/Dockerfile b/openjdk-runtime/Dockerfile
index 4672be7..def6305 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/ubi9/ubi-minimal:latest AS ubi-minimal
+FROM registry.access.redhat.com/ubi10/ubi-minimal:latest AS ubi-minimal
 
 # Add OpenJDK (complete).
 ADD jdk-dist/latest.tar.gz /jdk
@@ -23,7 +23,7 @@
 RUN find /java -exec touch --date=@0 '{}' ';'
 
 # Build the final image.
-FROM registry.access.redhat.com/ubi9/ubi-micro:latest
+FROM registry.access.redhat.com/ubi10/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 5b94efc..2ef7959 100755
--- a/openjdk-runtime/build
+++ b/openjdk-runtime/build
@@ -8,7 +8,7 @@
 cd "$(dirname $(readlink -e "$0"))"
 
 image=docker.benkard.de/mulk/openjdk-runtime:latest
-dependencies=(registry.access.redhat.com/ubi9/ubi-micro:latest registry.access.redhat.com/ubi9/ubi-minimal:latest)
+dependencies=(registry.access.redhat.com/ubi10/ubi-micro:latest registry.access.redhat.com/ubi10/ubi-minimal:latest)
 platform=linux/amd64
 use_kaniko=no
 
@@ -20,8 +20,8 @@
         --platform "${platform}" \
         gcr.io/kaniko-project/warmer:latest \
         --cache-dir=/workspace/cache \
-        --image=registry.access.redhat.com/ubi9/ubi-micro:latest \
-        --image=registry.access.redhat.com/ubi9/ubi-minimal:latest
+        --image=registry.access.redhat.com/ubi10/ubi-micro:latest \
+        --image=registry.access.redhat.com/ubi10/ubi-minimal:latest
 
     docker run \
         --mount type=bind,src="$PWD",target=/workspace \