Allow ICON to reference a local file (#1466)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2022-04-10 11:39:58 -05:00
1 parent 97fe6b1f14
commit 8ef3fe199f
9 files changed
+56 -7

No files matched your search

@@ -0,0 +1,17 @@
version: "3"
services:
mc:
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
environment:
EULA: "true"
SETUP_ONLY: "true"
ICON: /extra/4737386_minecraft_squircle_icon_64x64.png
# the following are only used to speed up test execution
TYPE: CUSTOM
CUSTOM_SERVER: /servers/fake.jar
VERSION: 1.18.1
volumes:
- ./data:/data
- ./extra:/extra
- ./fake.jar:/servers/fake.jar
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Whitespace-only changes.
@@ -0,0 +1 @@
mc-image-helper assert fileExists server-icon.png
@@ -0,0 +1,17 @@
version: "3"
services:
mc:
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
environment:
EULA: "true"
SETUP_ONLY: "true"
ICON: /extra/4737386_minecraft_squircle_icon.png
# the following are only used to speed up test execution
TYPE: CUSTOM
CUSTOM_SERVER: /servers/fake.jar
VERSION: 1.18.1
volumes:
- ./data:/data
- ./extra:/extra
- ./fake.jar:/servers/fake.jar
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Whitespace-only changes.
@@ -0,0 +1 @@
mc-image-helper assert fileExists server-icon.png