feat: allow layered custom image build (#1497)
speed up build time pull builder image pack built assets into base image
This commit is contained in:
committed by
GitHub
parent
fe880183f9
commit
8ac69bb501
@@ -91,3 +91,19 @@ target "erpnext" {
|
||||
target = "erpnext"
|
||||
tags = tag("erpnext", "${ERPNEXT_VERSION}")
|
||||
}
|
||||
|
||||
target "base" {
|
||||
inherits = ["default-args"]
|
||||
context = "."
|
||||
dockerfile = "images/production/Containerfile"
|
||||
target = "base"
|
||||
tags = tag("base", "${FRAPPE_VERSION}")
|
||||
}
|
||||
|
||||
target "build" {
|
||||
inherits = ["default-args"]
|
||||
context = "."
|
||||
dockerfile = "images/production/Containerfile"
|
||||
target = "build"
|
||||
tags = tag("build", "${FRAPPE_VERSION}")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user