Update Dockerfile

This commit is contained in:
fithwum
2020-07-01 15:52:51 -07:00
parent bad92cbfe4
commit 2189866966

View File

@@ -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 \