Allow `.env` file override (equivalent to docker-compose build's `--env-file` option) when using bake
Open
@crazy-max is already working on this.
Since Jun 11, 2024.
area/bake
area/bake/compose
status/needs-maintainer-decision
- Dominant language
- Go
- Stars
- 4.5k
- Forks
- 682
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 29
Description
As a follow up to #282
Depending on our build type (dev/ci/prod) we use different versions of a .env file when running our builds with docker-compose build. Would it be possible to add a --env-file option to bake so it can provide the same functionality?
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.
Assessment
This issue has not been assessed yet.