Files
jupyterhub/dockerfiles
Min RK af0d81436d alpine dockerfile: avoid compilation by getting some deps from apk
cryptography is the big one, which needs rust and is a huge pain
2021-03-22 12:17:47 +01:00
..
2021-02-12 15:25:58 +01:00
2020-09-07 16:06:48 +02:00

What is Dockerfile.alpine

Dockerfile.alpine contains base image for jupyterhub. It does not work independently, but only as part of a full jupyterhub cluster

How to use it?

  1. A running configurable-http-proxy, whose API is accessible.
  2. A jupyterhub_config file.
  3. Authentication and other libraries required by the specific jupyterhub_config file.

Steps to test it outside a cluster

  • start configurable-http-proxy in another container
  • specify CONFIGPROXY_AUTH_TOKEN env in both containers
  • put both containers on the same network (e.g. docker network create jupyterhub; docker run ... --net jupyterhub)
  • tell jupyterhub where CHP is (e.g. c.ConfigurableHTTPProxy.api_url = 'http://chp:8001')
  • tell jupyterhub not to start the proxy itself (c.ConfigurableHTTPProxy.should_start = False)
  • Use dummy authenticator for ease of testing. Update following in jupyterhub_config file
    • c.JupyterHub.authenticator_class = 'dummyauthenticator.DummyAuthenticator'
    • c.DummyAuthenticator.password = "your strong password"