From 78702372b3aca102ffa25d6da96477db93801cb1 Mon Sep 17 00:00:00 2001 From: stonezdj Date: Thu, 28 Dec 2023 15:29:14 +0800 Subject: [PATCH] Load wavefront image in pre-start --- jobs/harbor/templates/bin/pre-start.erb.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jobs/harbor/templates/bin/pre-start.erb.sh b/jobs/harbor/templates/bin/pre-start.erb.sh index a3557c3..b588d2a 100644 --- a/jobs/harbor/templates/bin/pre-start.erb.sh +++ b/jobs/harbor/templates/bin/pre-start.erb.sh @@ -171,6 +171,8 @@ loadImages() { #Load images log "Loading docker images ..." $DOCKER_CMD load -i $HARBOR_IMAGES_TAR_PATH 2>&1 + #Should load wavefront image because previous image prune will remove it + $DOCKER_CMD load -i ${PACKAGE_DIR}/wavefront/harbor-wavefront-bundle.tar 2>&1 } # Setup NFS directory and update docker-compose.yml