Verify content type when downloading SPIGET_RESOURCES entry (#1413)

For #1378
This commit is contained in:
Geoff Bourne
2022-03-10 16:16:18 -06:00
committed by GitHub
parent 5168698498
commit 65d6c5bb32
5 changed files with 44 additions and 23 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: PAPER
SPIGET_RESOURCES: "34315,3836"
volumes:
- ./data:/data

View File

@@ -0,0 +1,2 @@
mc-image-helper assert fileExists plugins/3836.jar
mc-image-helper assert fileExists plugins/34315.jar