Skip to content

Commit

Permalink
dev container: explicitly specify required platform
Browse files Browse the repository at this point in the history
  • Loading branch information
DHrpcs3 committed Nov 18, 2024
1 parent 0218bcd commit 48c1ea0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:rolling
FROM --platform=linux/amd64 ubuntu:rolling

ARG USER

Expand Down
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
"seccomp=unconfined",
"--platform", "linux/amd64"
],
"updateRemoteUserUID": true,
"remoteUser": "${localEnv:USER}",
Expand All @@ -23,6 +24,7 @@
"slevesque.shader"
],
"settings": {
"extensions.verifySignature": false,
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
Expand Down

0 comments on commit 48c1ea0

Please sign in to comment.