Skip to content

Commit

Permalink
Install python packages as root
Browse files Browse the repository at this point in the history
Non-root package installation still does not actually work
  • Loading branch information
yuvipanda committed Dec 29, 2023
1 parent 0cefb96 commit 7594661
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ FROM rocker/binder:4.3.2
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN id && ls -la ${VIRTUAL_ENV}
USER root

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 \
Expand Down

0 comments on commit 7594661

Please sign in to comment.