diff --git a/frontend/build.sh b/frontend/build.sh index 21c6c02c0..cea9019bd 100644 --- a/frontend/build.sh +++ b/frontend/build.sh @@ -10,6 +10,9 @@ ARCH=${ARCH:-amd64} +GIT_ROOT=$(git rev-parse --show-toplevel) +source $GIT_ROOT/scripts/lib/_docker.sh + git_sha=$(git rev-parse --short HEAD) image_tag=${IMAGE_TAG:-$git_sha} check_prereq() { @@ -19,6 +22,14 @@ check_prereq() { } } +# Sourcing init scripts +for file in ./build_init_*; do + if [ -f "$file" ]; then + echo "Sourcing $file" + source "$file" + fi +done + chart=frontend [[ $1 == ee ]] && ee=true [[ $PATCH -eq 1 ]] && {