Rename example conf, change Makefile & entrypoint
This commit is contained in:
parent
c18ec3d06f
commit
bca6dd8673
3 changed files with 5 additions and 5 deletions
8
Makefile
8
Makefile
|
@ -3,12 +3,12 @@
|
|||
dist: help
|
||||
help:
|
||||
@echo "make help [Displays help]"
|
||||
@echo " check [Check all shell scripts for issues]"
|
||||
@echo " build [Builds the docker image]"
|
||||
@echo " test [Tests the docker image]"
|
||||
@echo " clean [Cleans the docker build cache]"
|
||||
build:
|
||||
check:
|
||||
shellcheck *.sh
|
||||
build: check
|
||||
docker buildx build --progress tty --tag mcserverdocker:repobuild .
|
||||
clean:
|
||||
docker buildx prune --all --force
|
||||
test:
|
||||
docker run mcserverdocker:repobuild
|
||||
|
|
|
@ -60,7 +60,7 @@ function kill_server() {
|
|||
|
||||
function run() {
|
||||
echo ":: Starting server"
|
||||
cd /data
|
||||
cd /data||exit 69
|
||||
# We want to use ${ARGS} without using parenthesis
|
||||
# shellcheck disable=SC2086
|
||||
"/usr/lib/jvm/java-${MCSD_JAVA_VERSION}-openjdk/bin/java" -jar "/data/server.jar" ${ARGS} &
|
||||
|
|
Loading…
Reference in a new issue