Dockerfile 631 bytes
# Do not forget to pin down the version
FROM jupyterhub/jupyterhub:3.0.0
# Download script to automatically stop idle single-user servers
# RUN wget https://raw.githubusercontent.com/jupyterhub/jupyterhub/0.9.3/examples/cull-idle/cull_idle_servers.py
# Install dependencies (for advanced authentication and spawning)
RUN apt update && apt install -y git && rm -rf /var/lib/apt/lists/*
RUN pip3 install --no-cache git+https://github.com/floriandeboissieu/dockerspawner.git@patch-1  \
    git+https://github.com/floriandeboissieu/oauthenticator.git@patch-1
    # oauthenticator
# dockerspawner==0.10.0 \
#    oauthenticator==0.8.0