From 6cf7831cb314b2ca2de35faaf469903d259ec1d2 Mon Sep 17 00:00:00 2001 From: Michael Petik <35036685+michaelpetik@users.noreply.github.com> Date: Thu, 12 Dec 2019 15:20:11 -0600 Subject: [PATCH] Include 1.14 support (#18) --- Dockerfile | 1 + README.md | 1 + bedrock-entry.sh | 7 +++++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 752f6b9..43c02c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index 10afdb1..d3efabf 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/bedrock-entry.sh b/bedrock-entry.sh index 4f60e6e..6e06784 100755 --- a/bedrock-entry.sh +++ b/bedrock-entry.sh @@ -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