Project to build sotw in a docker container and output the compiled program to the filesystem
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.
|
|
|
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
|