blob: 4db1a9b64a1e31868c8c0830aa37f62a877195a4 [file] [log] [blame]
Zack Williamse7927f42016-06-08 13:04:10 -07001IMAGE_NAME:=xosproject/onos-fork
2CONTAINER_NAME:=onos-fork
3NO_DOCKER_CACHE?=false
4
5.PHONY: build
6build: ; sudo docker build --no-cache=${NO_DOCKER_CACHE} --rm -t ${IMAGE_NAME} .
7
8.PHONY: run
9run: ; sudo docker run -d --name ${CONTAINER_NAME} ${IMAGE_NAME}
10
11.PHONY: stop
12stop: ; sudo docker stop ${CONTAINER_NAME}
13
14.PHONY: rm
15rm: ; sudo docker rm ${CONTAINER_NAME}