Update Dockerfile

This commit is contained in:
fithwum
2021-11-30 11:56:44 -08:00
parent a68f489f67
commit 2ede0aa0ee

View File

@@ -10,10 +10,7 @@ ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/master/fi
# Install java8 & dependencies.
RUN apt-get -y update \
&& apt-get install -y software-properties-common \
&& wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add - \
&& add-apt-repository 'deb https://apt.corretto.aws stable main' \
&& apt-get -y update \
&& apt-get install -y java-17-amazon-corretto-jdk ca-certificates-java \
&& apt-get install -y openjdk-17-jre ca-certificates-java \
&& apt-get clean && rm -rf /var/lib/apt/lists/*\
&& update-ca-certificates -f;