Update Dockerfile
This commit is contained in:
@@ -6,9 +6,7 @@ ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/master/fi
|
|||||||
|
|
||||||
# Install dependencies and folder creation
|
# Install dependencies and folder creation
|
||||||
RUN apt-get update && apt-get -y install libstdc++ software-properties-common \
|
RUN apt-get update && apt-get -y install libstdc++ software-properties-common \
|
||||||
&& add-apt-repository ppa:linuxuprising/java
|
&& apt-get -y install oracle-java11-installer \
|
||||||
&& 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/* \
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
|
||||||
&& mkdir -p /MCserver /MCtemp \
|
&& mkdir -p /MCserver /MCtemp \
|
||||||
&& chmod 777 -R /MCserver /MCtemp \
|
&& chmod 777 -R /MCserver /MCtemp \
|
||||||
|
|||||||
Reference in New Issue
Block a user