Commit f70625ff authored by CAMPION Sebastien's avatar CAMPION Sebastien

fix usercreation

parent 00eb9f02
FROM debian:jessie
# install nodejs, utf8 locale, set CDN because default httpredir is unreliable
ENV DEBIAN_FRONTEND noninteractive
RUN REPO=http://cdn-fastly.deb.debian.org && \
echo "deb $REPO/debian jessie main\ndeb $REPO/debian-security jessie/updates main" > /etc/apt/sources.list && \
......@@ -35,21 +34,12 @@ WORKDIR /srv/jupyterhub/
EXPOSE 8000
#RUN apt-get update
#RUN apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
#RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
#RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
#RUN apt-get update
#RUN apt-get install -y docker-ce
#RUN pip install jupyter==1.0.0
RUN apt-get update && apt-get install -y git nano
RUN pip install https://github.com/data-8/nbgitpuller/archive/28fe9b1af2ba64b346d59bd13c99581346bf349f.zip
RUN pip install https://github.com/scampion/jwtauthenticator/archive/7aefcb4d54b959bfd472ccba25fedd463e1f2ce0.zip
# https://github.com/mogthesprog/jwtauthenticator/archive/63467a803e2e96fb17516a8c4bcf09efbe9e60f3.zip
RUN jupyter serverextension enable --py nbgitpuller --sys-prefix
RUN pip install https://github.com/mogthesprog/jwtauthenticator/archive/63467a803e2e96fb17516a8c4bcf09efbe9e60f3.zip
RUN pip install allgo
ENV PYTHONUNBUFFERED 1
RUN conda upgrade notebook
CMD jupyterhub -f /srv/jupyterhub/jupyterhub_config.py
\ No newline at end of file
......@@ -633,7 +633,7 @@ c.JupyterHub.spawner_class = 'jupyterhub.spawner.LocalProcessSpawner'
# respond. Callers of spawner.start will assume that startup has failed if it
# takes longer than this. start should return when the server process is started
# and its location is known.
c.Spawner.start_timeout = 300
#c.Spawner.start_timeout = 300
#------------------------------------------------------------------------------
# LocalProcessSpawner(Spawner) configuration
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment