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"
|
||||
target = "bench"
|
||||
tags = ["frappe/bench:latest"]
|
||||
platforms = [
|
||||
"linux/amd64",
|
||||
"linux/arm64"
|
||||
]
|
||||
}
|
||||
|
||||
target "bench-test" {
|
||||
inherits = ["bench"]
|
||||
target = "bench-test"
|
||||
platforms = [
|
||||
"linux/amd64",
|
||||
"linux/arm64"
|
||||
]
|
||||
}
|
||||
|
||||
# Main images
|
||||
|
|
@ -20,22 +28,42 @@ target "bench-test" {
|
|||
|
||||
target "frappe-nginx" {
|
||||
dockerfile = "build/frappe-nginx/Dockerfile"
|
||||
platforms = [
|
||||
"linux/amd64",
|
||||
"linux/arm64"
|
||||
]
|
||||
}
|
||||
|
||||
target "frappe-worker" {
|
||||
dockerfile = "build/frappe-worker/Dockerfile"
|
||||
platforms = [
|
||||
"linux/amd64",
|
||||
"linux/arm64"
|
||||
]
|
||||
}
|
||||
|
||||
target "frappe-socketio" {
|
||||
dockerfile = "build/frappe-socketio/Dockerfile"
|
||||
platforms = [
|
||||
"linux/amd64",
|
||||
"linux/arm64"
|
||||
]
|
||||
}
|
||||
|
||||
target "erpnext-nginx" {
|
||||
dockerfile = "build/erpnext-nginx/Dockerfile"
|
||||
platforms = [
|
||||
"linux/amd64",
|
||||
"linux/arm64"
|
||||
]
|
||||
}
|
||||
|
||||
target "erpnext-worker" {
|
||||
dockerfile = "build/erpnext-worker/Dockerfile"
|
||||
platforms = [
|
||||
"linux/amd64",
|
||||
"linux/arm64"
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue