STAGE_IMAGE_NAME=sotw SOTW_VER=release-1.2.2 OS_PERMS=sudo all: $(OS_PERMS) docker build -t $(STAGE_IMAGE_NAME) . $(OS_PERMS) docker run --name=tmpsotw -v $(shell pwd):/stage:rw $(STAGE_IMAGE_NAME) $(OS_PERMS) docker rm tmpsotw mv shadow-of-the-wyrm.tar.gz shadow-of-the-wyrm-$(SOTW_VER).tar.gz clean: rm -rf *.tar.gz