Skip to content

Commit 971d4f3

Browse files
authored
Using tidyverse 4.4.0 as base dev image (#28)
1 parent b9a29fc commit 971d4f3

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

Diff for: .devcontainer/Dockerfile

+5-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
1-
FROM rocker/r-devel:latest
1+
FROM rocker/tidyverse:4.4.0
22

33
# RUN \
4-
# echo 'options(repos=c(CRAN="https://cloud.r-project.org"))' >> ~/.Rprofile && \
4+
# echo 'options(repos=c(CRAN="https://packagemanager.posit.co/cran/__linux__/bookworm/latest"))' >> ~/.Rprofile && \
55
# Rscript --vanilla -e 'getOption("repos")'
66

7-
# Adding Git
8-
RUN apt-get update && apt-get install -y --no-install-recommends git
9-
107
# Adding R packages
11-
RUN \
12-
wget https://github.com/jgm/pandoc/releases/download/3.2.1/pandoc-3.2.1-1-amd64.deb && \
13-
dpkg -i pandoc-3.2.1-1-amd64.deb
14-
15-
RUN install2.r cpp11 rmarkdown roxygen2 tinytest data.table netplot \
16-
devtools
8+
RUN install2.r cpp11 roxygen2 tinytest data.table netplot \
9+
devtools decor
1710

18-
RUN apt-get install -y --no-install-recommends && \
19-
install2.r languageserver
11+
RUN install2.r languageserver
2012

2113
CMD ["bash"]

0 commit comments

Comments
 (0)