Skip to content

Commit 401f25f

Browse files
authored
Set devcontainer platform to linux/amd64 (#33)
1 parent 3da2db2 commit 401f25f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

solarkraft/.devcontainer/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Force platform to linux/amd64; there is no Z3 release for linux/arm64:
2+
# https://github.com/Z3Prover/z3/issues/7201
3+
FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/typescript-node:20-bookworm

solarkraft/.devcontainer/devcontainer.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
// For format details, see https://aka.ms/devcontainer.json.
33
{
44
"name": "Solarkraft",
5-
"image": "mcr.microsoft.com/devcontainers/typescript-node:20-bookworm",
5+
"build": {
6+
"dockerfile": "Dockerfile"
7+
},
68
"features": {
79
"ghcr.io/devcontainers/features/java:1": {},
810
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {},

0 commit comments

Comments
 (0)