Skip to content

Commit

Permalink
[chore] Add dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
schoulten committed Sep 14, 2023
1 parent a9eaecc commit 884011f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/rocker-org/devcontainer-templates/tree/main/src/r-ver
{
"name": "R (rocker/r-ver base)",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "ghcr.io/rocker-org/devcontainer/tidyverse:4.3",
"features": {
"ghcr.io/rocker-org/devcontainer-features/pandoc:1": {
"version": "latest"
},
"ghcr.io/rocker-org/devcontainer-features/renv-cache:0": {}
},

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "R -q -e 'renv::install()'",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

0 comments on commit 884011f

Please sign in to comment.