Skip to content

Commit

Permalink
WIP using devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbanSagouis committed Apr 1, 2024
1 parent ea1918b commit 46fdaef
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
^vignettes/vignette1_cache
^cran-comments\.md$
^codemeta\.json$
^.devcontainer$
13 changes: 13 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM rocker/tidyverse:devel

LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.source="https://github.com/rocker-org/rocker-versioned2" \
org.opencontainers.image.vendor="Rocker Project" \
org.opencontainers.image.authors="Carl Boettiger <cboettig@ropensci.org>"

ENV CTAN_REPO=https://mirror.ctan.org/systems/texlive/tlnet
ENV PATH=$PATH:/usr/local/texlive/bin/linux

RUN /rocker_scripts/install_verse.sh

RUN R -q -e 'install.packages("checkmate","vegan","dggridR")'
8 changes: 8 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*{
"image": "ghcr.io/rocker-org/devcontainer/r-ver:4.2"
}*/
{
"build": {
"dockerfile": "Dockerfile"
}
}

0 comments on commit 46fdaef

Please sign in to comment.