From 9355d27e71c1fde8e6c77f159b8f547ee0d5962d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Wed, 4 Jul 2018 16:42:38 +0200 Subject: [PATCH] Bump senpy version to 0.10.9 --- Dockerfile | 2 +- Makefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 777294e..36f9ab8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1 @@ -from gsiupm/senpy:0.10.8-python2.7 \ No newline at end of file +from gsiupm/senpy:0.10.9-python2.7 \ No newline at end of file diff --git a/Makefile b/Makefile index a21e862..eb66620 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ REPO=gsiupm PLUGINS= $(filter %/, $(wildcard */)) IMAGENAME=gsiupm/senpy-plugins-community DOCKER_FLAGS= +DEV_PORT?=5000 ifdef SENPY_FOLDER DOCKER_FLAGS+= -v $(realpath $(SENPY_FOLDER)):/usr/src/app/ @@ -17,6 +18,9 @@ test-%: test: test-. +dev: + docker run -p $(DEV_PORT):5000 $(DOCKER_FLAGS) -ti $(DOCKER_FLAGS) -v $$PWD/$*:/senpy-plugins/ --entrypoint /bin/bash -v $$PWD/data:/data/ --rm $(IMAGEWTAG) + clean-docker: @docker ps -a | awk '/$(REPO)\/$(NAME)/{ split($$2, vers, "-"); if(vers[1] != "${VERSION}"){ print $$1;}}' | xargs docker rm 2>/dev/null|| true @docker images | awk '/$(REPO)\/$(NAME)/{ split($$2, vers, "-"); if(vers[1] != "${VERSION}"){ print $$1":"$$2;}}' | xargs docker rmi 2>/dev/null|| true