Skip to content

Commit

Permalink
feat!: Do not let pak install system dependencies
Browse files Browse the repository at this point in the history
It is better to install them ourselves so we know what is being included
  • Loading branch information
AlexAxthelm committed Nov 16, 2023
1 parent 970abf3 commit b4bb103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN apt-get update \

# set frozen CRAN repo
ARG CRAN_REPO="https://packagemanager.posit.co/cran/__linux__/jammy/2023-10-30"
RUN echo "options(repos = c(CRAN = '$CRAN_REPO'))" >> "${R_HOME}/etc/Rprofile.site" \
RUN echo "options(repos = c(CRAN = '$CRAN_REPO'), pkg.sysreqs = FALSE)" >> "${R_HOME}/etc/Rprofile.site" \
# install packages for dependency resolution and installation
&& Rscript -e "install.packages('pak'); pak::pkg_install('renv')"

Expand Down

0 comments on commit b4bb103

Please sign in to comment.