From 68dd3a5afd4ef62f2eec053f975b480c2986a398 Mon Sep 17 00:00:00 2001
From: Bastien Abadie <bastien@nextcairn.com>
Date: Thu, 31 Jan 2019 11:46:08 +0100
Subject: [PATCH] Build docker image without cache to avoid missing updates

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e6e7741f3e..44028f79a8 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ clean:
 
 build:
 	python setup.py sdist
-	docker build $(ROOT_DIR) -t $(TAG_APP):$(VERSION) -t $(TAG_APP):latest --build-arg FRONTEND_BRANCH=$(FRONTEND_BRANCH)
+	docker build --no-cache $(ROOT_DIR) -t $(TAG_APP):$(VERSION) -t $(TAG_APP):latest --build-arg FRONTEND_BRANCH=$(FRONTEND_BRANCH)
 
 publish-version: require-docker-auth
 	[ -f $(ROOT_DIR)/arkindex/project/local_settings.py ] && mv $(ROOT_DIR)/arkindex/project/local_settings.py $(ROOT_DIR)/arkindex/project/local_settings.py.bak || true
-- 
GitLab