summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-18 12:48:45 +0100
committerw0rp <devw0rp@gmail.com>2016-10-18 12:48:45 +0100
commita2b7bbc8f2f0dc777586222374ade95330fcb55f (patch)
tree03b23121beddb00b876cde15b9d0e0fd7c6c7eaa /Makefile
parent02e42feeaafde1cb2677e798d898c58cc4c40a26 (diff)
downloadale-a2b7bbc8f2f0dc777586222374ade95330fcb55f.zip
Add an ID into the Makefile so running tests locally will use the most up to date Docker image.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e8376deb..6c6cdc6c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
IMAGE ?= w0rp/ale
+CURRENT_IMAGE_ID = 107e4efc4267
DOCKER_FLAGS = --rm -v $(PWD):/testplugin -v $(PWD)/test:/home "$(IMAGE)"
test-setup:
- docker images -q $(IMAGE) || docker pull $(IMAGE)
+ if [ `docker images -q $(IMAGE)` != $(CURRENT_IMAGE_ID) ]; then docker pull $(IMAGE); fi
test: test-setup
@:; \