blob: ebfe5ef130043b767a84e30b7a2dd93b4f37fae5 [file] [log] [blame]
David K. Bainbridge9c24cbf2015-12-03 11:49:01 -08001IMAGE_NAME:=xosproject/xos-synchronizer-openstack
2CONTAINER_NAME:=xos-synchronizer
Tony Mack3bcbee82015-11-16 20:41:49 +00003
4.PHONY: build
David K. Bainbridge9c24cbf2015-12-03 11:49:01 -08005build: ; docker build --rm -t ${IMAGE_NAME} .
Tony Mack3bcbee82015-11-16 20:41:49 +00006
7.PHONY: run
David K. Bainbridge9c24cbf2015-12-03 11:49:01 -08008run: ; docker run -d --name ${CONTAINER_NAME} ${IMAGE_NAME}
Tony Mack3bcbee82015-11-16 20:41:49 +00009
10.PHONY: stop
11stop: ; docker stop ${CONTAINER_NAME}
12
13.PHONY: rm
14rm: ; docker rm ${CONTAINER_NAME}