mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
prevent piling up build intermediate containers
This commit is contained in:
parent
c56db1380e
commit
3be5879fcf
2
Makefile
2
Makefile
|
@ -11,7 +11,7 @@ VCS_VER = $(shell git describe --tags --contains --always)
|
|||
all: lint build backup generate-accounts tests clean
|
||||
|
||||
build:
|
||||
docker build -t $(NAME) . --build-arg VCS_VER=$(VCS_VER) --build-arg VCS_REF=$(VCS_REF)
|
||||
docker build --force-rm -t $(NAME) . --build-arg VCS_VER=$(VCS_VER) --build-arg VCS_REF=$(VCS_REF)
|
||||
|
||||
backup:
|
||||
# if backup directories exist, clean hasn't been called, therefore
|
||||
|
|
Loading…
Reference in a new issue