From c159fa2190899502a29ac00bca9f07e1672287e4 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 20 Apr 2020 00:55:26 +0200 Subject: [PATCH] Add build script. --- build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..286f914 --- /dev/null +++ b/build.sh @@ -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" .