Major Update
This commit is contained in:
@@ -2,10 +2,13 @@ FROM fithwum/debian-base:bullseye
|
||||
LABEL maintainer "fithwum"
|
||||
|
||||
ENV ACCEPT_EULA="false"
|
||||
ENV GAME_PORT=25565
|
||||
ENV GAME_PORT="25565"
|
||||
ENV MC_VERSION="1.11.1"
|
||||
ENV MC_SERVER_FILE="https://launcher.mojang.com/v1/objects/1f97bd101e508d7b52b3d6a7879223b000b5eba0/server.jar"
|
||||
ENV MC_RUN_FILE="https://raw.githubusercontent.com/fithwum/minecraft/master/files/run-vanilla.sh"
|
||||
|
||||
# URL's for files
|
||||
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/master/stable/1.11.1/files/Install_Script.sh
|
||||
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/master/files/Install_Script_Vanilla.sh
|
||||
|
||||
# Install java-17 & Dependencies.
|
||||
RUN apt-get -y update \
|
||||
@@ -29,4 +32,4 @@ VOLUME /MCserver
|
||||
EXPOSE 25565/udp 25565/tcp
|
||||
|
||||
# Run command
|
||||
CMD [ "/bin/bash", "./MCtemp/Install_Script.sh" ]
|
||||
CMD [ "/bin/bash", "./MCtemp/Install_Script_Vanilla.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user