14 lines
387 B
Makefile
14 lines
387 B
Makefile
.PHONY: dist help build test
|
|
|
|
dist: help
|
|
help:
|
|
@echo "make help [Displays help]"
|
|
@echo " build [Builds the docker image]"
|
|
@echo " test [Tests the docker image]"
|
|
@echo " clean [Cleans the docker build cache]"
|
|
build:
|
|
docker buildx build --progress tty --tag mcserverdocker:repobuild .
|
|
clean:
|
|
docker buildx prune --all --force
|
|
test:
|
|
docker run mcserverdocker:repobuild
|