Skip to content

Commit

Permalink
don't set .libPaths()
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed Jun 15, 2024
1 parent 2cb2ce9 commit a64d0bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions images/py-rocket-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ ENV DASK_ROOT_CONFIG=${CONDA_DIR}/etc
## Ensure that RStudio uses the conda notebook env for Python and modules
RUN echo "PATH=${PATH}" >>"${R_HOME}/etc/Renviron.site"

## Ensure that if user installs packages they go to the user library
## Ensure that user library exists
RUN echo "dir.create(Sys.getenv('R_LIBS_USER'), recursive = TRUE, showWarnings = FALSE)" >> "${R_HOME}/etc/Rprofile.site"
RUN echo ".libPaths(c(Sys.getenv('R_LIBS_USER'), .libPaths()))" >> "${R_HOME}/etc/Rprofile.site"

# bin to PATH earlier ($NB_PYTHON_PREFIX/bin)
RUN echo ". ${CONDA_DIR}/etc/profile.d/conda.sh ; conda activate ${CONDA_ENV}" > /etc/profile.d/init_conda.sh
Expand Down

0 comments on commit a64d0bb

Please sign in to comment.