install docker on jupyterhub container

This commit is contained in:
moisei 2016-08-16 09:34:57 +03:00
parent 76aa995ae2
commit 93660a19ca

View File

@ -8,6 +8,11 @@ RUN /opt/conda/bin/pip install \
oauthenticator==0.4.* \ oauthenticator==0.4.* \
dockerspawner==0.4.* dockerspawner==0.4.*
# install docker on the jupyterhub container
RUN wget https://get.docker.com -q -O /tmp/getdocker && \
chmod +x /tmp/getdocker && \
sh /tmp/getdocker
# Copy TLS certificate and key # Copy TLS certificate and key
ENV SSL_CERT /srv/jupyterhub/secrets/jupyterhub.crt ENV SSL_CERT /srv/jupyterhub/secrets/jupyterhub.crt
ENV SSL_KEY /srv/jupyterhub/secrets/jupyterhub.key ENV SSL_KEY /srv/jupyterhub/secrets/jupyterhub.key