added variables for pufferfish, also added setup only test (#1399)

This commit is contained in:
chblodg
2022-03-04 17:52:55 -08:00
committed by GitHub
parent ba08a5d8f1
commit 1781ca282a
5 changed files with 38 additions and 20 deletions

View File

@@ -0,0 +1,13 @@
version: "3"
services:
mc:
restart: "no"
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
environment:
EULA: "TRUE"
SETUP_ONLY: "TRUE"
TYPE: PUFFERFISH
VERSION: ${MINECRAFT_VERSION:-LATEST}
volumes:
- ./data:/data

View File

@@ -0,0 +1 @@
[[ $MINECRAFT_VERSION == LATEST ]] || exit 1

View File

@@ -0,0 +1,3 @@
#!/bin/bash
mc-image-helper assert fileExists "/data/pufferfish-*"