Definitions and workflows for publishing JupyterHub container images.
All pushes to main
(and any designated backport branches) are built and published.
Pushes to main
are assumed to always be the latest, so images are always tagged with
MAJOR.MINOR.PATCH-BUILDNUMBER
MAJOR.MINOR.PATCH
MAJOR.MINOR
MAJOR
latest
where MAJOR.MINOR.PATCH
is the JupyterHub version.
Backports are published in their own branches. For example, see https://github.com/jupyterhub/jupyterhub-container-images/compare/main..4.x
The following images are published by this repository:
The Hub images run jupyterhub in the /srv/jupyterhub
directory.
If you place your jupyterhub_config.py
there,
either by mounting /srv/jupyterhub
as a volume, or adding
COPY jupyterhub_config.py /srv/jupyterhub/jupyterhub_config.py
in your Dockerfile for your derived image.
We no longer publish the jupyterhub-onbuild
image,
starting with jupyterhub 5.3.
If you used jupyterhub-onbuild
before,
FROM quay.io/jupyterhub/jupyterhub-onbuild:5.2.1
can be replaced with
FROM quay.io/jupyterhub/jupyterhub:5.2.1
COPY jupyterhub_config.py /srv/jupyterhub/jupyterhub_config.py