diff --git a/Dockerfile b/Dockerfile index c10f391..6407620 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,14 @@ FROM debian:buster-slim MAINTAINER “Jonathan Ervine” +# Set ENV variables +ENV VERSION='1.16.1.02' + # Install updates RUN apt update && apt upgrade -y RUN apt install unzip curl -y -RUN mkdir /bedrock && cd /bedrock && curl -LO https://minecraft.azureedge.net/bin-linux/bedrock-server-1.16.1.02.zip && unzip bedrock-server-1.16.1.02.zip && rm bedrock-server-1.16.1.02.zip +RUN mkdir /bedrock && cd /bedrock && curl -LO https://minecraft.azureedge.net/bin-linux/bedrock-server-$VERSION.zip && unzip bedrock-server-$VERSION.zip && rm bedrock-server-$VERSION.zip ADD start.sh /usr/local/bin/