blob: 8620438595d4927bf92293b385769452e77950c4 [file] [log] [blame]
IMAGE_NAME:=xosproject/xos-synchronizer-openstack
CONTAINER_NAME:=xos-synchronizer
NO_DOCKER_CACHE?=false
.PHONY: build
build: ; docker build --no-cache=${NO_DOCKER_CACHE} --rm -t ${IMAGE_NAME} .
.PHONY: run
run: ; docker run -d --name ${CONTAINER_NAME} ${IMAGE_NAME}
.PHONY: stop
stop: ; docker stop ${CONTAINER_NAME}
.PHONY: rm
rm: ; docker rm ${CONTAINER_NAME}