dev container: explicitly specify required platform

This commit is contained in:
DH 2024-11-18 00:36:29 +00:00
parent 0218bcd06a
commit 48c1ea0ce9
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM ubuntu:rolling
FROM --platform=linux/amd64 ubuntu:rolling
ARG USER

View File

@ -8,7 +8,8 @@
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
"seccomp=unconfined",
"--platform", "linux/amd64"
],
"updateRemoteUserUID": true,
"remoteUser": "${localEnv:USER}",
@ -23,6 +24,7 @@
"slevesque.shader"
],
"settings": {
"extensions.verifySignature": false,
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {