diff --git a/Dockerfile b/Dockerfile index 85d81e4..c454bb7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +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 - \ + && wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add corretto.key \ && add-apt-repository 'deb https://apt.corretto.aws stable main' \ && apt-get update \ && apt-get install -y java-17-amazon-corretto-jdk ca-certificates-java \