From bfa8a41712423a55bbeccdcf95a435a8e27a98e1 Mon Sep 17 00:00:00 2001 From: Thomas VIAL Date: Wed, 13 Apr 2016 21:43:25 +0200 Subject: [PATCH] Added a build using cache for testing purpose --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 32cb86b6..4e5d2a4c 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,12 @@ BRANCH := $(shell git rev-parse --abbrev-ref HEAD) 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: build +all: build-no-cache + +build-no-cache: + docker build --no-cache -t $(NAME) . build: docker build --no-cache -t $(NAME) .