From 2189866966d7e0600e523a94119b13b883b8c0ad Mon Sep 17 00:00:00 2001 From: fithwum <34775371+fithwum@users.noreply.github.com> Date: Wed, 1 Jul 2020 15:52:51 -0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 \