devcontainers / devcontainers/spec
`--platform` option for the base image (the `image` field)
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 5.7k
- Fork
- 496
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reading the devcontainer.json image field and comparing it with the Dockerfile FROM --platform example and the linked Docker multi-platform documentation. Define how an explicit platform would be represented for the base image; done means the specification answers whether and how this capability is supported.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker
- Ambito
- devops
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100