diff --git a/src/r2u/.devcontainer/Dockerfile b/src/r2u/.devcontainer/Dockerfile new file mode 100644 index 0000000..1bbb92e --- /dev/null +++ b/src/r2u/.devcontainer/Dockerfile @@ -0,0 +1,2 @@ +# r2u only supports amd64 +FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/base:${templateOption:imageVariant} diff --git a/src/r2u/.devcontainer/devcontainer.json b/src/r2u/.devcontainer/devcontainer.json index 781bda0..24cb419 100644 --- a/src/r2u/.devcontainer/devcontainer.json +++ b/src/r2u/.devcontainer/devcontainer.json @@ -2,8 +2,9 @@ // README at: https://github.com/rocker-org/devcontainer-templates/tree/main/src/r2u { "name": "R (r2u and bspm configured)", - // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/base:${templateOption:imageVariant}", + "build": { + "dockerfile": "Dockerfile" + }, // Features to add to the dev container. More info: https://containers.dev/features. "features": {