add BASE_IMAGE build arg for onbuild

for easier automated building
This commit is contained in:
Min RK
2018-04-26 11:19:56 +02:00
parent f99b7cb7eb
commit 8399f5288e

View File

@@ -4,7 +4,8 @@
#
# Derivative images must have jupyterhub_config.py next to the Dockerfile.
FROM jupyterhub/jupyterhub
ARG BASE_IMAGE jupyterhub/jupyterhub
FROM ${BASE_IMAGE}
ONBUILD ADD jupyterhub_config.py /srv/jupyterhub/jupyterhub_config.py