feat(openjdk-runtime): Update dependencies prior to build.

Change-Id: Id5b0e9c92fdf27b111e6a969e3bb22aee295a521
diff --git a/openjdk-runtime/build b/openjdk-runtime/build
index 79a9d7f..629823b 100755
--- a/openjdk-runtime/build
+++ b/openjdk-runtime/build
@@ -8,6 +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)
 use_kaniko=no
 
 ./prepare
@@ -31,6 +32,9 @@
         --cache-ttl=16800h0m0s \
         --reproducible=true
 else
+    for x in "${dependencies[@]}"; do
+        docker pull "$x"
+    done
     docker build -t "${image}" .
     docker push "${image}"
 fi