Update bedrock download URL with custom VERSION
Using latest docker image with VERSION=LATEST attempts to download:
https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-1.21.51.02.zip
Attempt to manually override with VERSION=1.21.51.01 results in the old URL being used:
2025/01/14 22:49:48 stdout ERROR failed to download from https://minecraft.azureedge.net/bin-linux/bedrock-server-1.21.51.01.zip
Docker version: https://registry.hub.docker.com/layers/itzg/minecraft-bedrock-server/latest/images/sha256-e2227631afbfa4db1ad32e142cde25bfb11770b933e7c0b2d342cb8e8408dcda https://registry.hub.docker.com/layers/itzg/minecraft-bedrock-server/latest/images/sha256-0b31384db3149310d293d1ae023d59e0d0b912b0ab773d8a1a2b77a2ff10935a
It downloaded the correct version for me:
docker run -it --rm -e EULA=true itzg/minecraft-bedrock-server
DEBU[0000] Using /data to match uid and gid
DEBU[0000] Resolved UID=0 from match path
DEBU[0000] Resolved GID=0 from match path
Looking up latest version...
Downloading Bedrock server version 1.21.51.02 ...
Starting Bedrock server...
Perhaps Mojang's site was being cached, which is where the image identifies the latest version to download.
FYI, setting VERSION to 1.21.51.02 is probably what you meant to do for your experiment.