Update Dockerfile
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -5,13 +5,9 @@ MAINTAINER fithwum
|
|||||||
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/master/files/Install_Script.sh
|
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/master/files/Install_Script.sh
|
||||||
|
|
||||||
# Install dependencies and folder creation
|
# Install dependencies and folder creation
|
||||||
RUN apt-get update && apt-get install libstdc++ software-properties-common \
|
RUN apt-get update && apt-get install libstdc++ \
|
||||||
&& add-apt-repository -y ppa:webupd8team/java \
|
&& apt-get -y install oracle-java8-installer \
|
||||||
&& echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections \
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
|
||||||
&& echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections \
|
|
||||||
&& apt-get update && apt-get -y install oracle-java8-installer \
|
|
||||||
&& 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 \
|
||||||
&& chown 99:100 -R /MCserver /MCtemp
|
&& chown 99:100 -R /MCserver /MCtemp
|
||||||
|
|||||||
Reference in New Issue
Block a user