Skip to content

Commit

Permalink
Load wavefront image in pre-start
Browse files Browse the repository at this point in the history
  • Loading branch information
stonezdj committed Dec 28, 2023
1 parent 2f69ba7 commit 7870237
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jobs/harbor/templates/bin/pre-start.erb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7870237

Please sign in to comment.