From 8c7f6adfd08471d0898d7cbab3b15a02c7a7c027 Mon Sep 17 00:00:00 2001 From: Dan Bradbury Date: Fri, 14 Mar 2025 02:04:15 -0700 Subject: [PATCH] add build.options to specify platform for image & feature building --- images/ruby/.devcontainer/devcontainer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/ruby/.devcontainer/devcontainer.json b/images/ruby/.devcontainer/devcontainer.json index 5bd0657..0cc3946 100644 --- a/images/ruby/.devcontainer/devcontainer.json +++ b/images/ruby/.devcontainer/devcontainer.json @@ -1,7 +1,8 @@ { "build": { "dockerfile": "./Dockerfile", - "context": "." + "context": ".", + "options": ["--platform=linux/amd64"] }, "features": { "ghcr.io/devcontainers/features/common-utils:2": {