devcontainers / devcontainers/spec
does the spec for `build` follow the docs
Open
- Dominant language
- No language data
- Stars
- 5.7k
- Forks
- 496
- PR merge metrics
- No merged PRs in 30d
Description
Based of the [docs](https://containers.dev/implementors/json_reference/#image-specific) it seems `build` and `image` can be used together to use `image` as the image tag when running`docker build`. The JSON spec doesn't allow both values together, but the cli does it actually exactly as the docs say.
```json
{
...
"image": "my-devimage",
"build": {
"dockerfile": "Dockerfile",
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.