Skip to content

Commit

Permalink
Merge pull request #656 from eitsupi/update-devcontainer
Browse files Browse the repository at this point in the history
dev(devcontainer): change to install R via rig and using pak
  • Loading branch information
renkun-ken authored Jan 28, 2024
2 parents f715de6 + 336b9d4 commit 9b30018
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 0 additions & 14 deletions .devcontainer/Dockerfile

This file was deleted.

11 changes: 10 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
{
"build": { "dockerfile": "Dockerfile", "context": ".."}
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": "libxml2-dev"
},
"ghcr.io/rocker-org/devcontainer-features/r-rig:1": {}
},
"updateContentCommand": {
"r-tools": "Rscript -e 'pak::local_install_deps(dependencies = c(\"all\", \"Config/Needs/development\"))'"
}
}
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ updates:
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: "daily"

0 comments on commit 9b30018

Please sign in to comment.