From 2ede0aa0eec2bee25147041a2330a3d5c42e53f1 Mon Sep 17 00:00:00 2001 From: fithwum <34775371+fithwum@users.noreply.github.com> Date: Tue, 30 Nov 2021 11:56:44 -0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 12b6e56..14a5214 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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;