MCServerDocker/Makefile

14 lines
386 B
Makefile

.PHONY: dist help build test
dist: help
help:
@echo "make help [Displays help]"
@echo " check [Check all shell scripts for issues]"
@echo " build [Builds the docker image]"
@echo " clean [Cleans the docker build cache]"
check:
shellcheck *.sh
build: check
docker buildx build --progress tty --tag mcserverdocker:repobuild .
clean:
docker buildx prune --all --force