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.
This commit is contained in:
@@ -9,4 +9,4 @@ data:
|
|||||||
startup-script.sh: |
|
startup-script.sh: |
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --no-cache-dir --upgrade pip
|
||||||
|
|||||||
Reference in New Issue
Block a user