blob: 2c24afc90fb323003152f37815b893c5a5e9969d [file] [log] [blame]
Zack Williams4d0be652016-04-07 13:30:33 -07001IMAGE_NAME:=xosproject/syndicate-ms
2CONTAINER_NAME:=xos-syndicate-ms
Jeremy Mowerye07a38b2016-04-16 12:25:30 -07003NO_DOCKER_CACHE?=false
Zack Williams4d0be652016-04-07 13:30:33 -07004
5.PHONY: build
6build: ; docker build --no-cache=${NO_DOCKER_CACHE} --rm -t ${IMAGE_NAME} .
7
8.PHONY: run
9run: ; docker run -d -p 8080:8080 --name ${CONTAINER_NAME} ${IMAGE_NAME}
10
11.PHONY: stop
12stop: ; docker stop ${CONTAINER_NAME}
13
14.PHONY: rm
15rm: ; docker rm ${CONTAINER_NAME}
16
17.PHONY: rmi
18rmi: ; docker rmi ${IMAGE_NAME}
Jeremy Mowery10cdc472016-04-16 12:26:50 -070019