Building the images requires docker
>=18.09
with buildkit
.
To build the notebooks
image with default arguments: docker buildx build --pull -f Dockerfile -t rapidsai/notebooks context/
To build just the base
image with default arguments: docker buildx build --pull -f Dockerfile -t rapidsai/base --target=base context/
CUDA_VER
- Version of CUDA to use. Should bemajor.minor.patch
PYTHON_VER
- Version of Python to use. Should bemajor.minor
RAPIDS_VER
- Version of RAPIDS to use. Should beYY.MM
Every build first writes images to the https://hub.docker.com/r/rapidsai/staging repo on DockerHub,
then pushes them on to the individual repos like rapidsai/base
, rapidsai/notebooks
, etc.
A scheduled job regularly deletes old images from that rapidsai/staging
repo.
See https://github.com/rapidsai/workflows/blob/main/.github/workflows/cleanup_staging.yaml for details.
If you come back to a pull requests here after more than a few days and find that jobs are failing with errors that suggest that some necessary images don't exist, re-run all of CI on that pull request to produce new images.