blob: 8620438595d4927bf92293b385769452e77950c4 [file] [log] [blame]
David K. Bainbridgeab4a2eb2015-12-03 11:49:01 -08001IMAGE_NAME:=xosproject/xos-synchronizer-openstack
2CONTAINER_NAME:=xos-synchronizer
David K. Bainbridge911ecc62015-12-03 20:24:30 -08003NO_DOCKER_CACHE?=false
Tony Mack4eecc052015-11-16 20:41:49 +00004
5.PHONY: build
David K. Bainbridge911ecc62015-12-03 20:24:30 -08006build: ; docker build --no-cache=${NO_DOCKER_CACHE} --rm -t ${IMAGE_NAME} .
Tony Mack4eecc052015-11-16 20:41:49 +00007
8.PHONY: run
David K. Bainbridgeab4a2eb2015-12-03 11:49:01 -08009run: ; docker run -d --name ${CONTAINER_NAME} ${IMAGE_NAME}
Tony Mack4eecc052015-11-16 20:41:49 +000010
11.PHONY: stop
12stop: ; docker stop ${CONTAINER_NAME}
13
14.PHONY: rm
15rm: ; docker rm ${CONTAINER_NAME}