Include 1.14 support (#18)
This commit is contained in:
1 parent
915efd06d3
commit
6cf7831cb3
3 files changed
+7
-2
No files matched your search
@@ -38,4 +38,5 @@ COPY property-definitions.json /etc/bds-property-definitions.json
|
||||
# https://minecraft.gamepedia.com/Bedrock_Edition_1.11.0
|
||||
# https://minecraft.gamepedia.com/Bedrock_Edition_1.12.0
|
||||
# https://minecraft.gamepedia.com/Bedrock_Edition_1.13.0
|
||||
# https://minecraft.gamepedia.com/Bedrock_Edition_1.14.0
|
||||
ENV VERSION=LATEST
|
||||
@@ -30,6 +30,7 @@ For Minecraft Java Edition you'll need to use this image instead:
|
||||
- `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
|
||||
- `UID` (default derived from `/data` owner) : can be set to a specific user ID to run the
|
||||
bedrock server process
|
||||
- `GID` (default derived from `/data` owner) : can be set to a specific group ID to run the
|
||||
|
||||
+5
-2
@@ -16,12 +16,15 @@ case ${VERSION} in
|
||||
1.11)
|
||||
VERSION=1.11.4.2
|
||||
;;
|
||||
1.12|PREVIOUS)
|
||||
1.12)
|
||||
VERSION=1.12.0.28
|
||||
;;
|
||||
1.13)
|
||||
1.13|PREVIOUS)
|
||||
VERSION=1.13.0.34
|
||||
;;
|
||||
1.14)
|
||||
VERSION=1.14.0.9
|
||||
;;
|
||||
*)
|
||||
DOWNLOAD_URL=$(restify --attribute=data-platform=serverBedrockLinux https://www.minecraft.net/en-us/download/server/bedrock/ | jq -r '.[0].href')
|
||||
if [[ ${DOWNLOAD_URL} =~ http.*/.*-(.*)\.zip ]]; then
|
||||
|
||||
Reference in new issue
Block a user