diff --git a/Dockerfile b/Dockerfile index 40633d0..b4158d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,10 @@ MAINTAINER fithwum ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/master/files/Install_Script.sh # Install dependencies and folder creation -RUN apt-get update && apt-get install libstdc++ \ - && apt-get -y install oracle-java8-installer \ +RUN apt-get update && apt-get -y install libstdc++ software-properties-common \ + && add-apt-repository ppa:linuxuprising/java + && apt-get update && apt-get -y install --allow-unauthenticated oracle-java11-installer-local \ + && install oracle-java11-set-default-local \ && apt-get clean && rm -rf /var/lib/apt/lists/* \ && mkdir -p /MCserver /MCtemp \ && chmod 777 -R /MCserver /MCtemp \