- ソース を表示
- JupyterHub/SwarmSpawner/Dokerfile へ行く。
1: 2020-08-21 (金) 16:55:09 iseki | 現: 2020-08-21 (金) 16:59:24 iseki | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | *** SwarnSpawner 用 サンプル jupyterhub_config.py [#qa5d6c28] | + | *** SwarmSpawner 用 サンプル Dockerfile [#n7533cff] |
+ | # base image: jupyterhub | ||
+ | # this is built by docker-compose | ||
+ | # from the root of this repo | ||
+ | ARG JUPYTERHUB_VERSION=0.9.2 | ||
+ | FROM jupyterhub/jupyterhub:${JUPYTERHUB_VERSION} | ||
+ | # install dockerspawner from the current repo | ||
+ | ADD . /tmp/dockerspawner | ||
+ | RUN pip install --proxy=192.168.27.234:3128 --no-cache /tmp/dockerspawner | ||
+ | RUN pip install --proxy=192.168.27.234:3128 --no-cache jupyterlab | ||
+ | # install dummyauthenticator | ||
+ | RUN pip install --proxy=192.168.27.234:3128 --no-cache jupyterhub-dummyauthenticator | ||
+ | # load example configuration | ||
+ | ADD examples/swarm/jupyterhub_config.py /srv/jupyterhub/jupyterhub_config.py | ||
+ | #br |
- JupyterHub/SwarmSpawner/Dokerfile のバックアップ一覧
- JupyterHub/SwarmSpawner/Dokerfile のバックアップ差分(No. All)
- 1: 2020-08-21 (金) 16:55:09 iseki
- 現: 2020-08-21 (金) 16:59:24 iseki