-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using tidyverse 4.4.0 as base dev image
- Loading branch information
Showing
1 changed file
with
5 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |