import / include other bake files
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 4.5k
- Forks
- 682
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 29
Description
Description
I would like to be able to include / import other bake files.
We have a repository where we build 100+ images. Each image has its own folder, with its own Dockerfile, and any related files needed for the build of that image.
Our bake file is growing too big.
We would like to split up the bake file and put each "target" next to its Dockerfile, and then include/import each file into the main bake file in the root of the repo.
The number one complaint we receive from people trying to on-board in the repo, is that the bakefile is overwhelming, and too long.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the bake-file parsing path in docker/buildx and determine how split bake files should be imported or included; done means a root bake file can compose per-image bake files without the current monolithic file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100