summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..0254885
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+PROJECT=astroconda/base
+VERSION="${1}"
+if [[ -z ${VERSION} ]]; then
+ echo "Project version required [e.g. 1.2.3]"
+ exit 1
+fi
+
+docker build -t ${PROJECT}:latest -t ${PROJECT}:${VERSION} .