Added version variable to Dockerfile
This commit is contained in:
parent
9861f4eb83
commit
5e81cc8df5
@ -2,11 +2,14 @@ FROM debian:buster-slim
|
||||
|
||||
MAINTAINER “Jonathan Ervine” <docker@ervine.org>
|
||||
|
||||
# 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/
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user