devcontainers / devcontainers/spec

does the spec for `build` follow the docs

Open
#578 4 comments 0 reactions 0 assignees View on GitHub
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

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.