Tony Mack | ae85c52 | 2015-11-16 20:45:39 +0000 | [diff] [blame^] | 1 | CONTAINER_NAME:=synchronizer-server |
Tony Mack | 3bcbee8 | 2015-11-16 20:41:49 +0000 | [diff] [blame] | 2 | |
| 3 | .PHONY: build |
Tony Mack | ae85c52 | 2015-11-16 20:45:39 +0000 | [diff] [blame^] | 4 | build: ; docker build --rm -t synchronizer . |
Tony Mack | 3bcbee8 | 2015-11-16 20:41:49 +0000 | [diff] [blame] | 5 | |
| 6 | .PHONY: run |
Tony Mack | ae85c52 | 2015-11-16 20:45:39 +0000 | [diff] [blame^] | 7 | run: ; docker run -d --name ${CONTAINER_NAME} synchronizer |
Tony Mack | 3bcbee8 | 2015-11-16 20:41:49 +0000 | [diff] [blame] | 8 | |
| 9 | .PHONY: stop |
| 10 | stop: ; docker stop ${CONTAINER_NAME} |
| 11 | |
| 12 | .PHONY: rm |
| 13 | rm: ; docker rm ${CONTAINER_NAME} |