blob: 352616a1bf2c155ba1feb0d45e234a9029c1a63d [file] [log] [blame]
A R Karthicke3bde962016-09-27 15:06:35 -07001IMAGE_NAME:=xosproject/xos-synchronizer-openstack
2CONTAINER_NAME:=xos-synchronizer
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} -v /usr/local/share/ca-certificates:/usr/local/share/ca-certificates:ro ${IMAGE_NAME}
10
11.PHONY: stop
12stop: ; sudo docker stop ${CONTAINER_NAME}
13
14.PHONY: rm
15rm: ; sudo docker rm ${CONTAINER_NAME}