You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
325 B
12 lines
325 B
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
|
|
|