1
0
mirror of https://github.com/balkian/jupyterhub-oauth.git synced 2025-08-29 16:52:21 +00:00

Updated to jupyterhub 0.7.2 to add OAUTH_TLS_VERIFY=0

Also updated oauthenticator and dockerspawner.
We had to update to get SSL to ignore self-signed SSL certificates now we are
temporarily using self-signed certificates.
This commit is contained in:
J. Fernando Sánchez
2017-08-30 13:55:07 +02:00
parent 85eab8aacc
commit 60039de883
7 changed files with 38 additions and 7 deletions

28
Dockerfile.template Normal file
View File

@@ -0,0 +1,28 @@
# Designed to be run as
#
# docker run -it -p 8000:8000 jupyter/oauthenticator
FROM jupyterhub/jupyterhub:${VERSION}
MAINTAINER Project Jupyter <ipython-dev@scipy.org>
# Install oauthenticator from git
ADD oauthenticator /src/oauthenticator
ADD dockerspawner /src/dockerspawner
RUN pip install /src/oauthenticator
RUN pip install /src/dockerspawner
# Create oauthenticator directory and put necessary files in it
RUN mkdir /srv/oauthenticator
WORKDIR /srv/oauthenticator
ENV OAUTHENTICATOR_DIR /srv/oauthenticator
ADD ssl /srv/oauthenticator/ssl
RUN chmod 700 /srv/oauthenticator
RUN groupadd hubadmin
RUN echo "%hubadmin ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
ADD jupyterhub_config.py /srv/jupyterhub/jupyterhub_config.py
ENV USERS_DIR /output
VOLUME /home