From ea79626e318d5154c781472eb2e780eb3e475383 Mon Sep 17 00:00:00 2001 From: Jon Massey Date: Wed, 8 May 2024 14:35:08 +0100 Subject: [PATCH] Remove erroneous line from Dockerfile This line tried to delete a path which did not exist. The rocker-provided packages are actually at /usr/local/lib/R/library/ but there are also packages there which we cannot delete (R base packages and those required to make RStudio-server work). --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 38f67b3..b4719c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,8 +27,6 @@ RUN --mount=type=cache,target=/var/cache/apt \ # Configure RStudio Server to run without auth echo "auth-none=1" >> /etc/rstudio/rserver.conf &&\ echo "USER=rstudio" >> /etc/environment &&\ - # Remove the packages shipped with the rocker image - rm -rf /usr/library/lib/R/site-library/* &&\ # Give the local user sudo (aka root) permissions usermod -aG sudo rstudio &&\ echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers