From 30ea4ba9222c0d9b24bf401639eddef4e5b9ef89 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 31 Jan 2019 14:24:24 -0500 Subject: Initial commit --- build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..98eefb1 --- /dev/null +++ b/build.sh @@ -0,0 +1,10 @@ +#!/bin/bash +PROJECT=astroconda/pipeline-nb +PIPELINE="${1}" +if [[ -z ${PIPELINE} ]]; then + echo "Need a pipeline verison [i.e. hstdp-2018.3a_py###]" + exit 1 +fi +docker build --pull -t ${PROJECT}:${PIPELINE} \ + --build-arg PIPELINE=${PIPELINE} \ + . -- cgit