Since get-server downloads its own jarfile this commit overhauls a lot of the minecraft deploy to match the new strategy. It also updates the README and adds makefile targets for a few new commands.
14 lines
294 B
Makefile
14 lines
294 B
Makefile
SHELL := /bin/bash
|
|
|
|
include .gitlab/Makefile
|
|
|
|
.PHONY: get-server
|
|
get-server:
|
|
@mkdir -p world
|
|
@echo 'eula=true' > world/eula.txt
|
|
@docker run -it -e SERVER_VERSION=1.17.1 -v $(PWD)/world:/downloads ducoterra/get-minecraft:latest
|
|
|
|
.PHONY: run
|
|
run:
|
|
docker-compose run --service-ports minecraft
|