David K. Bainbridge | 9c24cbf | 2015-12-03 11:49:01 -0800 | [diff] [blame^] | 1 | IMAGE_NAME:=xosproject/xos-synchronizer-openstack |
| 2 | CONTAINER_NAME:=xos-synchronizer |
Tony Mack | 3bcbee8 | 2015-11-16 20:41:49 +0000 | [diff] [blame] | 3 | |
| 4 | .PHONY: build |
David K. Bainbridge | 9c24cbf | 2015-12-03 11:49:01 -0800 | [diff] [blame^] | 5 | build: ; docker build --rm -t ${IMAGE_NAME} . |
Tony Mack | 3bcbee8 | 2015-11-16 20:41:49 +0000 | [diff] [blame] | 6 | |
| 7 | .PHONY: run |
David K. Bainbridge | 9c24cbf | 2015-12-03 11:49:01 -0800 | [diff] [blame^] | 8 | run: ; docker run -d --name ${CONTAINER_NAME} ${IMAGE_NAME} |
Tony Mack | 3bcbee8 | 2015-11-16 20:41:49 +0000 | [diff] [blame] | 9 | |
| 10 | .PHONY: stop |
| 11 | stop: ; docker stop ${CONTAINER_NAME} |
| 12 | |
| 13 | .PHONY: rm |
| 14 | rm: ; docker rm ${CONTAINER_NAME} |