devcontainer images for R buildable with the devcontainer cli.
Heavily under development.
Visual Studio Code Remote - Containers can be used.
It is configured to create temporary files with rewritten variables based on the files in the src
directory
and build the containers from the temporary definition files.
The variables are written in build/args.json
.
Creating files to build containers and invoking container build commands can be done via Makefile.
Create definition files to build the container with the settings described
in ."r-ver"."r-ver".variants."4.2"
in build/args.json
as follows:
SRC_NAME=r-ver IMAGE_NAME=r-ver VARIANT=4.2 make configfiles
Build the container with the settings described
in ."rstudio"."tidyverse".variants."4.2"
in build/args.json
as follows:
SRC_NAME=rstudio IMAGE_NAME=tidyverse VARIANT=4.2 make devcontainer