summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-02-15 22:11:56 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-02-15 22:11:56 -0500
commitc8ad645d8827bdd9fedc19a8c67f22aa016f8290 (patch)
tree940bab200a80641ca0b6d748e8e3576970a8c290 /Dockerfile
parent3190d616c3b61ba7f173dba1e46af701bbf2e34c (diff)
downloaddocker-pipeline-c8ad645d8827bdd9fedc19a8c67f22aa016f8290.tar.gz
Refactor build/publish
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index b99907b..88bf825 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,6 @@
-ARG PYTHON_VERSION
-FROM astroconda/python:${PYTHON_VERSION}
+ARG HUB=${HUB:-}
+ARG PYTHON_VERSION=${PYTHON_VERSION:-}
+FROM "${HUB}/python:${PYTHON_VERSION}"
LABEL maintainer="jhunk@stsci.edu" \
vendor="Space Telescope Science Institute"