From e131ab9c6c0cf2d6438a72aa30be74f05157c7a9 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Thu, 21 Dec 2023 15:25:10 -0800 Subject: [PATCH] Don't install python packages as root No longer needed, as /opt/venv is owned by non-root now --- Dockerfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 099cab2..0f43c4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,8 @@ FROM rocker/binder:4.3.2 -USER root - -# Install python packages as root, since that's what is done upstream -# This may change soon https://github.com/rocker-org/rocker-versioned2/issues/670 COPY requirements.txt /tmp/requirements.txt RUN pip install --no-cache -r /tmp/requirements.txt -USER ${NB_USER} - # Install learnr and other requested packages in https://2i2c.freshdesk.com/a/tickets/741 # mosaic installed per https://2i2c.freshdesk.com/a/tickets/973 RUN install2.r --skipinstalled \