use bitnami java image
Some checks failed
Minecraft Java Image / build-and-push-ddns (push) Failing after 15s

This commit is contained in:
2025-07-16 00:10:09 -04:00
parent ed6638cebf
commit c1ca80b09b
3 changed files with 18 additions and 10 deletions

View File

@@ -2,12 +2,23 @@ SHELL := /bin/bash
include .gitlab/Makefile
.PHONY: build
build:
@podman build -f Dockerfile -t localhost/minecraft:latest
.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
@podman run \
-it \
--rm \
-e SERVER_VERSION=1.21.7 \
-v $(PWD)/world:/downloads \
--security-opt label=disable \
--userns keep-id \
docker.io/ducoterra/get-minecraft:latest
.PHONY: run
run:
docker-compose run --service-ports minecraft
docker compose -f compose.yaml up minecraft