mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-08 07:16:49 +00:00
update docker-bake file to build without httpd
This commit is contained in:
@@ -5,7 +5,7 @@ variable "CACHE" { default = "" }
|
||||
variable "GCP" { default = false }
|
||||
|
||||
group "default" {
|
||||
targets = ["app", "app-httpd"]
|
||||
targets = ["app"]
|
||||
}
|
||||
|
||||
target "app" {
|
||||
@@ -35,16 +35,3 @@ target "app" {
|
||||
cache-from = notequal("", CACHE) ? ["${CACHE}"] : []
|
||||
cache-to = notequal("", CACHE) ? ["${CACHE},mode=max,ignore-error=true"] : []
|
||||
}
|
||||
|
||||
target "app-httpd" {
|
||||
context = "./"
|
||||
dockerfile = "docker/httpd/Dockerfile"
|
||||
platforms = [
|
||||
"linux/amd64",
|
||||
]
|
||||
|
||||
tags = notequal("", REGISTRY) ? formatlist(
|
||||
GCP ? "${REGISTRY}/app-httpd:%s" : "${REGISTRY}:app-httpd-%s",
|
||||
compact(["latest", VERSION])
|
||||
) : []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user