22 lines
323 B
Bash
Executable File
22 lines
323 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
#set -o xtrace
|
|
# shellcheck disable=SC1091
|
|
|
|
# Load libraries
|
|
. /libbitnami.sh
|
|
|
|
print_welcome_page
|
|
|
|
if [[ "$*" = "/run.sh" ]]; then
|
|
info "** Starting Harbor Registry setup **"
|
|
/setup.sh
|
|
info "** Harbor Registry setup finished! **"
|
|
fi
|
|
|
|
echo ""
|
|
exec "$@"
|