From ab29fa1c764c9dff58565a162f6e7e8641e43f87 Mon Sep 17 00:00:00 2001 From: "George G. Vega Yon" Date: Tue, 15 Oct 2024 11:20:04 -0600 Subject: [PATCH] Using tidyverse 4.4.0 as base dev image --- .devcontainer/Dockerfile | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 8ecd589d..1c71422e 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,21 +1,13 @@ -FROM rocker/r-devel:latest +FROM rocker/tidyverse:4.4.0 # RUN \ -# echo 'options(repos=c(CRAN="https://cloud.r-project.org"))' >> ~/.Rprofile && \ +# echo 'options(repos=c(CRAN="https://packagemanager.posit.co/cran/__linux__/bookworm/latest"))' >> ~/.Rprofile && \ # Rscript --vanilla -e 'getOption("repos")' -# Adding Git -RUN apt-get update && apt-get install -y --no-install-recommends git - # Adding R packages -RUN \ - wget https://github.com/jgm/pandoc/releases/download/3.2.1/pandoc-3.2.1-1-amd64.deb && \ - dpkg -i pandoc-3.2.1-1-amd64.deb - -RUN install2.r cpp11 rmarkdown roxygen2 tinytest data.table netplot \ - devtools +RUN install2.r cpp11 roxygen2 tinytest data.table netplot \ + devtools decor -RUN apt-get install -y --no-install-recommends && \ - install2.r languageserver +RUN install2.r languageserver CMD ["bash"]