Skip to content
Snippets Groups Projects
Commit c6c7e4e4 authored by David Dorchies's avatar David Dorchies
Browse files

feat: add devcontainer for docker testing

parent 8d457569
No related branches found
No related tags found
No related merge requests found
// 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/geospatial)",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "rocker/geospatial:4.4.2",
"customizations": {
"vscode": {
"extensions": [
"janisdd.vscode-edit-csv",
"streetsidesoftware.code-spell-checker",
"eamodio.gitlens",
"REditorSupport.r"
]
}
},
// 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 'install.packages(c(\"languageserver\"))'",
"postStartCommand": "R -q -e 'remotes::install_deps(dependencies = TRUE)'"
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
{
"r.lsp.promptToInstall": false
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment