blob: 863f2b753c8e3ab5d9ea9af8722cab594a2fd7b7 [file] [log] [blame]
RUNNING_CONTAINER:=$(shell sudo docker ps|grep "opencloud_server"|awk '{print $$NF}')
.PHONY: build
build: ; docker build --rm -t opencloud .
.PHONY: run
run: ; docker run --rm --name opencloud_server opencloud
.PHONY: runtosca
runtosca: ; docker exec -it $RUNNING_CONTAINER /usr/bin/python /opt/xos/tosca/run.py padmin@vicci.org $TOSCA_CONFIG_PATH
.PHONY: stop
stop: ; docker stop opencloud_server
.PHONY: rmcontainer
rmcontainer: ; docker rm opencloud_server