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"]