From 2119eeef5d80ae1c14fdd1c45a9d81908ce14e3d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 4 Dec 2018 16:22:46 -0500 Subject: Initial commit --- build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..6c7a5f7 --- /dev/null +++ b/build.sh @@ -0,0 +1,9 @@ +#!/bin/bash +PROJECT=astroconda/pipeline +PIPELINE="${1}" +if [[ -z ${PIPELINE} ]]; then + echo "No pipeline specified. [e.g. hst-TREE, jwst-TREE, ...]" + exit 1 +fi + +docker build -t ${PROJECT}:${PIPELINE} --build-arg PIPELINE=${PIPELINE} . -- cgit