mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-21 00:36:23 +00:00
Verify content type when downloading SPIGET_RESOURCES entry (#1413)
For #1378
This commit is contained in:
13
tests/setuponlytests/spiget/docker-compose.yml
Normal file
13
tests/setuponlytests/spiget/docker-compose.yml
Normal 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
|
||||
2
tests/setuponlytests/spiget/verify.sh
Normal file
2
tests/setuponlytests/spiget/verify.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
mc-image-helper assert fileExists plugins/3836.jar
|
||||
mc-image-helper assert fileExists plugins/34315.jar
|
||||
Reference in New Issue
Block a user