devcontainers / devcontainers/spec

`--platform` option for the base image (the `image` field)

Open
#288 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
5.7k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

When using a Dockerfile, the architecture of the image can be specified explicitly.

```dockerfile
FROM --platform=linux/amd64 ubuntu:jammy
```

https://docs.docker.com/build/building/multi-platform/

Can the same thing be done in devcontainer.json?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.