Skip to content

Commit

Permalink
force amd64 via Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Aug 6, 2023
1 parent 602de29 commit bbc2cb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/r2u/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# r2u only supports amd64
FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/base:${templateOption:imageVariant}
5 changes: 3 additions & 2 deletions src/r2u/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit bbc2cb2

Please sign in to comment.