Docker build.sh: Run aux build scripts in subshell
This commit is contained in:
parent
fb27f8ce8a
commit
a408ee62ee
@ -92,7 +92,7 @@ for i in "${SELECTED_TARGETS[@]}"; do
|
||||
# Special instructions for local services
|
||||
build_script="$(dirname "${BASH_SOURCE[0]}")/../${i}/build.sh"
|
||||
if [[ -f "$build_script" ]]; then
|
||||
. "$build_script"
|
||||
( . "$build_script" )
|
||||
else
|
||||
docker build --tag "$img" --pull "${OPTIONS[@]}" "$loc"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user