diff --git a/Dockerfile b/Dockerfile index be0c7d1..6e0c8c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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; \