Skip to content

Commit

Permalink
Remove erroneous line from Dockerfile
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
Jongmassey committed May 10, 2024
1 parent 6ec03c1 commit ea79626
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea79626

Please sign in to comment.