Problem
Jupyter pulls jupyter/pyspark-notebook:latest in two places:
terraform/main.tf:103 (deployed image)
docker/jupyter/Dockerfile:1 (FROM)
Two issues with this tag:
- Unpinned (
:latest) — non-reproducible; the image can change underneath the platform without notice, and won't match the pinned pyspark==4.0.1 in docker/jupyter/requirements.txt.
- Deprecated namespace — the Docker Hub
jupyter/* images are no longer maintained; the project moved to quay.io/jupyter/*. The Docker Hub images will eventually stop receiving updates / may break.
Suggested fix
- Repin to a specific, current tag under the maintained registry, e.g.
quay.io/jupyter/pyspark-notebook:<pinned-digest-or-tag>, in both the Dockerfile FROM and terraform/main.tf.
- Choose a tag whose bundled PySpark matches the deployed Spark 4.0.1 cluster (the current image bundles a different Spark version than the cluster, which is its own latent mismatch).
Related
Problem
Jupyter pulls
jupyter/pyspark-notebook:latestin two places:terraform/main.tf:103(deployed image)docker/jupyter/Dockerfile:1(FROM)Two issues with this tag:
:latest) — non-reproducible; the image can change underneath the platform without notice, and won't match the pinnedpyspark==4.0.1indocker/jupyter/requirements.txt.jupyter/*images are no longer maintained; the project moved toquay.io/jupyter/*. The Docker Hub images will eventually stop receiving updates / may break.Suggested fix
quay.io/jupyter/pyspark-notebook:<pinned-digest-or-tag>, in both the DockerfileFROMandterraform/main.tf.Related
ldp-jupyterimage is wired into Terraform, the deployed image and the pinned base should be reconciled together.