--- tags: --- [[Docker]] [[Docker images]] Bake is a tool that manages docker build configurations, that are easily referenced e.g: `docker buildx bake `. It uses a config file: `docker-bake.hcl`. With it you can specify multiple targets and their build switches (as one would pass directly to docker build): ```docker-bake.hcl target "test" { dockerfile = "docker/test.Dockerfile" } target "debian" { dockerfile = "docker/debian.Dockerfile" } target "ci" { dockerfile = "docker/ci.Dockerfile" } ```