From a534c6c3d1705190dcfcb04d5b745145af798bd5 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Fri, 4 Nov 2022 05:27:36 +0100 Subject: feat(openjdk-runtime): Update dependencies prior to build. Change-Id: Id5b0e9c92fdf27b111e6a969e3bb22aee295a521 --- openjdk-runtime/build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openjdk-runtime') 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 -- cgit v1.2.3