mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-10 09:02:13 +00:00
Rename bench targets
This commit is contained in:
parent
2a4a070870
commit
e9a490358c
@ -1,4 +1,4 @@
|
|||||||
FROM debian:bullseye-slim as build
|
FROM debian:bullseye-slim as bench
|
||||||
|
|
||||||
LABEL author=frappé
|
LABEL author=frappé
|
||||||
|
|
||||||
@ -122,7 +122,7 @@ RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh |
|
|||||||
|
|
||||||
EXPOSE 8000-8005 9000-9005 6787
|
EXPOSE 8000-8005 9000-9005 6787
|
||||||
|
|
||||||
FROM build as test
|
FROM bench as bench-test
|
||||||
|
|
||||||
# Print version and verify bashrc is properly sourced so that everything works
|
# Print version and verify bashrc is properly sourced so that everything works
|
||||||
# in the interactive shell and Dockerfile
|
# in the interactive shell and Dockerfile
|
||||||
|
@ -16,14 +16,14 @@ variable "ERPNEXT_VERSION" {
|
|||||||
# Bench image
|
# Bench image
|
||||||
|
|
||||||
target "bench" {
|
target "bench" {
|
||||||
|
context = "build/bench"
|
||||||
|
target = "bench"
|
||||||
tags = ["frappe/bench:latest"]
|
tags = ["frappe/bench:latest"]
|
||||||
dockerfile = "build/bench/Dockerfile"
|
|
||||||
target = "build"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
target "bench-test" {
|
target "bench-test" {
|
||||||
inherits = ["bench"]
|
inherits = ["bench"]
|
||||||
target = "test"
|
target = "bench-test"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Main images
|
# Main images
|
||||||
|
Loading…
Reference in New Issue
Block a user