Skip to content

Commit

Permalink
Using tidyverse 4.4.0 as base dev image
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Oct 15, 2024
1 parent b9a29fc commit ab29fa1
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit ab29fa1

Please sign in to comment.