Skip to content

Commit

Permalink
Merge pull request #17 from opensafely-core/Jongmassey/fix-r-local-li…
Browse files Browse the repository at this point in the history
…brary

Fix cleaning of rocker-provided R library
  • Loading branch information
Jongmassey authored May 13, 2024
2 parents b6701e2 + ea79626 commit 0f4dfc4
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 0f4dfc4

Please sign in to comment.