You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
# set image tag if provided
|
|
tag="latest"
|
|
if [ "$1" ]; then
|
|
tag="$1"
|
|
fi
|
|
|
|
# build docker images
|
|
for path in build/docker/Dockerfile.*; do
|
|
name=$(echo "$path" | cut -d'.' -f2)
|
|
docker build . -f "$path" -t "creekorful/bs-$name:$tag"
|
|
done
|