Skip to content

Commit

Permalink
update dockerfile - remove renv
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgpanw committed Apr 12, 2024
1 parent 120e7d4 commit 2c888db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN R -e 'install.packages("remotes")'
# Install ourproj
WORKDIR /ourproj
COPY . .
RUN rm renv.lock && rm -r renv && rm .Rprofile
RUN Rscript -e 'args <- remotes::local_package_deps(dependencies = TRUE); writeLines(remotes::system_requirements("ubuntu", "20.04", package = args))' | \
while read -r cmd; do \
echo $cmd && eval sudo $cmd; \
Expand Down

0 comments on commit 2c888db

Please sign in to comment.