mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-27 17:25:08 +00:00
add platforms to bake file to include m1 (arm64)
This commit is contained in:
parent
3ba01027de
commit
4dc5fcf314
1 changed files with 28 additions and 0 deletions
|
|
@ -8,11 +8,19 @@ target "bench" {
|
||||||
context = "build/bench"
|
context = "build/bench"
|
||||||
target = "bench"
|
target = "bench"
|
||||||
tags = ["frappe/bench:latest"]
|
tags = ["frappe/bench:latest"]
|
||||||
|
platforms = [
|
||||||
|
"linux/amd64",
|
||||||
|
"linux/arm64"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "bench-test" {
|
target "bench-test" {
|
||||||
inherits = ["bench"]
|
inherits = ["bench"]
|
||||||
target = "bench-test"
|
target = "bench-test"
|
||||||
|
platforms = [
|
||||||
|
"linux/amd64",
|
||||||
|
"linux/arm64"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
# Main images
|
# Main images
|
||||||
|
|
@ -20,22 +28,42 @@ target "bench-test" {
|
||||||
|
|
||||||
target "frappe-nginx" {
|
target "frappe-nginx" {
|
||||||
dockerfile = "build/frappe-nginx/Dockerfile"
|
dockerfile = "build/frappe-nginx/Dockerfile"
|
||||||
|
platforms = [
|
||||||
|
"linux/amd64",
|
||||||
|
"linux/arm64"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "frappe-worker" {
|
target "frappe-worker" {
|
||||||
dockerfile = "build/frappe-worker/Dockerfile"
|
dockerfile = "build/frappe-worker/Dockerfile"
|
||||||
|
platforms = [
|
||||||
|
"linux/amd64",
|
||||||
|
"linux/arm64"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "frappe-socketio" {
|
target "frappe-socketio" {
|
||||||
dockerfile = "build/frappe-socketio/Dockerfile"
|
dockerfile = "build/frappe-socketio/Dockerfile"
|
||||||
|
platforms = [
|
||||||
|
"linux/amd64",
|
||||||
|
"linux/arm64"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "erpnext-nginx" {
|
target "erpnext-nginx" {
|
||||||
dockerfile = "build/erpnext-nginx/Dockerfile"
|
dockerfile = "build/erpnext-nginx/Dockerfile"
|
||||||
|
platforms = [
|
||||||
|
"linux/amd64",
|
||||||
|
"linux/arm64"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "erpnext-worker" {
|
target "erpnext-worker" {
|
||||||
dockerfile = "build/erpnext-worker/Dockerfile"
|
dockerfile = "build/erpnext-worker/Dockerfile"
|
||||||
|
platforms = [
|
||||||
|
"linux/amd64",
|
||||||
|
"linux/arm64"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue