blob: 6532196a45f401e59bbdc64cd6d03fa9cf1c527b [file] [log] [blame]
Scott Baker4f7ff0f2016-06-01 17:49:07 -07001IMAGE_NAME:=xosproject/xos-synchronizer-onboarding
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}