Tony Mack | bbcd778 | 2015-11-16 20:45:39 +0000 | [diff] [blame^] | 1 | CONTAINER_NAME:=synchronizer-server |
Tony Mack | 4eecc05 | 2015-11-16 20:41:49 +0000 | [diff] [blame] | 2 | |
| 3 | .PHONY: build |
Tony Mack | bbcd778 | 2015-11-16 20:45:39 +0000 | [diff] [blame^] | 4 | build: ; docker build --rm -t synchronizer . |
Tony Mack | 4eecc05 | 2015-11-16 20:41:49 +0000 | [diff] [blame] | 5 | |
| 6 | .PHONY: run |
Tony Mack | bbcd778 | 2015-11-16 20:45:39 +0000 | [diff] [blame^] | 7 | run: ; docker run -d --name ${CONTAINER_NAME} synchronizer |
Tony Mack | 4eecc05 | 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} |