Skip to content

Commit e7ed5ea

Browse files
authored
feat!(r2u): allow arm64 base image (#34)
1 parent 3346147 commit e7ed5ea

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

src/r2u/.devcontainer/devcontainer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
// README at: https://github.com/rocker-org/devcontainer-templates/tree/main/src/r2u
33
{
44
"name": "R (r2u and bspm configured)",
5-
"build": {
6-
"dockerfile": "Dockerfile"
7-
},
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/base:${templateOption:imageVariant}",
87

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

src/r2u/NOTES.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
Please check <https://github.com/devcontainers/images/tree/main/src/base-ubuntu>.
66

7-
This template pulls the `linux/amd64` platform image because
8-
[`r2u`](https://github.com/eddelbuettel/r2u) only supports `linux/amd64` platform.
9-
107
## Install R packages
118

129
Since `bspm` is enabled, the binary R packages (from `r2u` repository) and system dependencies can be installed

src/r2u/devcontainer-template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"id": "r2u",
3-
"version": "0.2.1",
3+
"version": "0.3.0",
44
"name": "R (r2u and bspm configured)",
5-
"description": "Install R on Ubuntu and set r2u and bspm. (Only supports amd64)",
5+
"description": "Install R on Ubuntu and set r2u and bspm.",
66
"documentationURL": "https://github.com/rocker-org/devcontainer-templates/tree/main/src/r2u",
77
"publisher": "Rocker Project",
88
"licenseURL": "https://github.com/rocker-org/devcontainer-templates/blob/main/LICENSE",

0 commit comments

Comments
 (0)