Providing build arguments via `--build-arg` option when using `dockerfile` directive
Open
- Dominant language
- JavaScript
- Stars
- 670
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Hello, when you provide a dockerfile directive, it builds an image automatically.
However, I am struggling to find information whether it's possible to provide build arguments when it builds because it's a necessary value for building an image.
So, any ways to provide such arguments via the yaml file?
Contributor guide
No contributing guide indexed for this repository
Research direction
Trace how the dockerfile directive is parsed and how its YAML configuration is passed to the Docker build command. Confirm how build arguments should be represented in the YAML, then verify that those values reach the image build and support the required argument.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, yaml
- Domain
- build-system, cli, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100