itzg / docker-minecraft-bedrock-server

Containerized Minecraft Bedrock Dedicated Server with selectable version
MIT License
1.09k stars 206 forks source link

How to get the latest version of 1.20.x.y ? #421

Open trmdi opened 2 weeks ago

trmdi commented 2 weeks ago

According to the document at https://hub.docker.com/r/itzg/minecraft-bedrock-server:

VERSION (LATEST) : can be set to a specific server version or the following special values can be used:
LATEST : determines the latest version and can be used to auto-upgrade on container start
PREVIOUS : uses the previously maintained major version. Useful when the mobile app is gradually being upgraded across devices
1.11 : the latest version of 1.11
1.12 : the latest version of 1.12
1.13 : the latest version of 1.13
1.14 : the latest version of 1.14
1.16 : the latest version of 1.16

Does the document mean that if you specify VERSION: 1.20 it will get the latest version of 1.20 for example 1.20.81.01 (according to https://minecraft.wiki/w/Bedrock_Dedicated_Server#Release_versions)? But I get this error:

bedrock  | Downloading Bedrock server version 1.20 ...
bedrock  | curl: (22) The requested URL returned error: 404
bedrock  |
bedrock  | ERROR failed to download from https://minecraft.azureedge.net/bin-linux/bedrock-server-1.20.zip
bedrock  |       Double check that the given VERSION is valid
itzg commented 2 weeks ago

Sorry, that documentation has now become incorrect since it is not tracking the logic as it now exists.

Really all that is supported is "LATEST", "PREVIEW", or a specific, fully qualified version.