Skip to content

Commit

Permalink
Set devcontainer platform to linux/amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
thpani committed Apr 19, 2024
1 parent 24e7def commit 2283ad9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions solarkraft/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Force platform to linux/amd64; there is no Z3 release for linux/arm64:
# https://github.com/Z3Prover/z3/issues/7201
FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/typescript-node:20-bookworm
4 changes: 3 additions & 1 deletion solarkraft/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "Solarkraft",
"image": "mcr.microsoft.com/devcontainers/typescript-node:20-bookworm",
"build": {
"dockerfile": "Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/java:1": {},
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {},
Expand Down

0 comments on commit 2283ad9

Please sign in to comment.