test/vagrant fixes

This commit is contained in:
Olof Hagsand 2020-12-03 14:23:59 +00:00
parent d045e8abce
commit 99c570e278
3 changed files with 7 additions and 5 deletions

View file

@ -49,6 +49,8 @@ else
DOCKERFILE = Dockerfile
endif
#DOCKERFLAGS="--no-cache"
# Example docker image. CHANGE THIS IF YOU PUSH
IMG = clixon/clixon-system
@ -70,7 +72,7 @@ distclean: clean
rm -f Makefile *~ .depend
docker: clixon $(DOCKERFILE)
sudo docker build -f $(DOCKERFILE) -t $(IMG) . # --no-cache
sudo docker build -f $(DOCKERFILE) -t $(IMG) $(DOCKERFLAGS) .
push:
sudo docker push $(IMG)