Skip to content

Commit ac4f3ae

Browse files
authored
Merge pull request #39 from shingo78/fix/update-idle-culler
Update idle-culler
2 parents 065da7a + ddad96b commit ac4f3ae

3 files changed

Lines changed: 20 additions & 408 deletions

File tree

jupyterhub/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ RUN python3 -m pip wheel --wheel-dir wheelhouse --constraint requirements \
3939
RUN python3 -m pip wheel --wheel-dir wheelhouse --constraint requirements \
4040
jsonschema
4141

42+
# idle-culler
43+
RUN python3 -m pip wheel --wheel-dir wheelhouse --constraint requirements \
44+
jupyterhub-idle-culler
45+
4246
FROM jupyterhub/jupyterhub:3.1
4347

4448
# dind
@@ -57,9 +61,6 @@ RUN apt-get update && \
5761
COPY --from=builder /tmp/wheelhouse /tmp/wheelhouse
5862
RUN python3 -m pip install --no-cache /tmp/wheelhouse/*
5963

60-
# cull servers
61-
ADD cull_idle_servers.py /usr/local/bin/cull_idle_servers.py
62-
6364
# Resources
6465
RUN mkdir /var/jupyterhub
6566
ADD jupyterhub_config.py /srv/jupyterhub/

0 commit comments

Comments
 (0)