mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-16 00:27:12 +00:00
Keep DIM1/DIM-1 subdirectories when cloning a vanilla world directory for Spigot (#4334)
This commit is contained in:
1 parent
b5596f6296
commit
cf72f1573f
6 files changed
+26
-2
No files matched your search
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
mc:
|
||||
restart: "no"
|
||||
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||
environment:
|
||||
EULA: "TRUE"
|
||||
SETUP_ONLY: "TRUE"
|
||||
TYPE: "PAPER"
|
||||
WORLD: /worlds/world
|
||||
# the following are only used to speed up test execution
|
||||
VERSION: 1.18.1
|
||||
PAPER_CUSTOM_JAR: /servers/fake.jar
|
||||
volumes:
|
||||
- ./worlds:/worlds:ro
|
||||
- ./data:/data
|
||||
@@ -0,0 +1,3 @@
|
||||
mc-image-helper assert fileExists world/level.dat && \
|
||||
mc-image-helper assert fileExists world_nether/DIM-1/some_nether_file && \
|
||||
mc-image-helper assert fileExists world_the_end/DIM1/some_end_file
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Reference in new issue
Block a user