mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Added a build using cache for testing purpose
This commit is contained in:
parent
545922fefa
commit
bfa8a41712
7
Makefile
7
Makefile
|
@ -1,9 +1,12 @@
|
||||||
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
||||||
NAME = tvial/docker-mailserver:$(BRANCH)
|
NAME = tvial/docker-mailserver:$(BRANCH)
|
||||||
|
|
||||||
# all: build run fixtures tests clean
|
# all: build-no-cache run fixtures tests clean
|
||||||
#all-no-build: run fixtures tests clean
|
#all-no-build: run fixtures tests clean
|
||||||
all: build
|
all: build-no-cache
|
||||||
|
|
||||||
|
build-no-cache:
|
||||||
|
docker build --no-cache -t $(NAME) .
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker build --no-cache -t $(NAME) .
|
docker build --no-cache -t $(NAME) .
|
||||||
|
|
Loading…
Reference in a new issue