summaryrefslogtreecommitdiff
path: root/openjdk-runtime
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-11-04 05:27:36 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-11-04 05:27:36 +0100
commita534c6c3d1705190dcfcb04d5b745145af798bd5 (patch)
treeed5f7aefe9e18b00aa72359483a3d7733f57ed98 /openjdk-runtime
parentc7eead9c45b8b165bcf1a7df7f02a4786918c43a (diff)
feat(openjdk-runtime): Update dependencies prior to build.
Change-Id: Id5b0e9c92fdf27b111e6a969e3bb22aee295a521
Diffstat (limited to 'openjdk-runtime')
-rwxr-xr-xopenjdk-runtime/build4
1 files changed, 4 insertions, 0 deletions
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 @@ set -euo pipefail
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 @@ if [[ "${use_kaniko}" == yes ]]; then
--cache-ttl=16800h0m0s \
--reproducible=true
else
+ for x in "${dependencies[@]}"; do
+ docker pull "$x"
+ done
docker build -t "${image}" .
docker push "${image}"
fi