summaryrefslogtreecommitdiff
path: root/build.sh
blob: 6c7a5f7081c9bcf174506fe15891b76c02abd413 (plain) (blame)
1
2
3
4
5
6
7
8
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} .