Add build script.

This commit is contained in:
tastytea 2020-04-20 00:55:26 +02:00
parent 59e1759134
commit c159fa2190
1 changed files with 10 additions and 0 deletions

10
build.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
image="${1}"
if [[ -z "${image}" ]]; then
echo "usage: ${0} image" >&2
exit 1
fi
docker build --quiet --tag="tastytea/${image}" --file=./"${image}.Dockerfile" .