From 8aca1e74f927527d3fb71de644c8dcaaa6de18dc Mon Sep 17 00:00:00 2001 From: ychangkim Date: Mon, 20 Apr 2026 14:37:27 +0900 Subject: [PATCH] fix: prevent root-owned .cache files by adding --no-cache-dir to pip upgrade Running pip as root (runAsUser: 0) created /home/jovyan/.cache with root ownership, causing permission issues for the jovyan user at runtime. --- manifests/helm/jupyterlab/1.0.0/templates/configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/helm/jupyterlab/1.0.0/templates/configmap.yaml b/manifests/helm/jupyterlab/1.0.0/templates/configmap.yaml index 5ac1a18..b8bc238 100644 --- a/manifests/helm/jupyterlab/1.0.0/templates/configmap.yaml +++ b/manifests/helm/jupyterlab/1.0.0/templates/configmap.yaml @@ -9,4 +9,4 @@ data: startup-script.sh: | #!/bin/bash apt-get update -y - python -m pip install --upgrade pip + python -m pip install --no-cache-dir --upgrade pip