Replies: 2 comments
-
You can use override configuration file as shown in https://docs.docker.com/build/bake/configuring-build/ # docker-bake.hcl
variable "FOO" {
default = "abc"
}
target "app" {
args = {
v1 = "pre-${FOO}"
}
}
You still need to define |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is a lot more complicated -- any chance of adding the parameter for parity and simplicity sake? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
with docker compose you can specify a custom .env file
e.g.
docker compose --env-file ./config/.env.dev up
https://docs.docker.com/engine/release-notes/
this doesn't work obviously
docker buildx bake --env-file my.env --print
unknown flag: --env-file
if this is desired then I can make a issue.
Beta Was this translation helpful? Give feedback.
All reactions