Skip to content

Commit 160517d

Browse files
committed
Allow building multiple images.
1 parent 0c07f3d commit 160517d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build-docker-image.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ run() {
2323
fi
2424
}
2525

26-
if [ -z "${1:-}" ]; then
26+
if [ -z "${@:-}" ]; then
2727
for t in Dockerfile.*; do
2828
run "${t##Dockerfile.}"
2929
done
3030
else
31-
run "${1}"
31+
for image in "${@}"; do
32+
run "${image}"
33+
done
3234
fi

0 commit comments

Comments
 (0)