docker-bake.hcl 374 B

1234567891011121314151617181920212223242526
  1. variable "CONTEXT" {
  2. default = "."
  3. }
  4. group "default" {
  5. targets = ["base"]
  6. }
  7. target "base" {
  8. context = "${CONTEXT}/"
  9. target = "base"
  10. platforms = [
  11. "linux/386",
  12. "linux/amd64",
  13. "linux/arm/v6",
  14. "linux/arm/v7",
  15. "linux/arm64/v8",
  16. "linux/ppc64le",
  17. "linux/s390x"
  18. ]
  19. }
  20. target "openrc" {
  21. inherits = ["base"]
  22. target = "openrc"
  23. }