summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-02-07 10:14:58 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-02-07 10:14:58 -0500
commitb0fa760126571f7fd22e1dfa7ee641b195639efc (patch)
tree96eeb308c62bfdab9e127a4a1e78bbc92e72e8c8 /Dockerfile
parentdc6b09f58d2a4287bdea5ae2197944a9e93c56c8 (diff)
downloaddocker-python-b0fa760126571f7fd22e1dfa7ee641b195639efc.tar.gz
Dynamic base version
Use LATEST file to denote which version becomes "latest" tag
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index d03e3e9..55a4ee0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,5 @@
-FROM astroconda/base:1.0.0
+ARG BASE_VERSION=${BASE_VERSION:latest-}
+FROM astroconda/base:${BASE_VERSION}
LABEL maintainer="jhunk@stsci.edu" \
vendor="Space Telescope Science Institute"