From afe4d9652b266487209a594ceb180e2d767dd642 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Radim=20Lipov=C4=8Dan?= <radim@lipovcan.cz>
Date: Sun, 10 Mar 2024 17:56:15 +0100
Subject: [PATCH] Aktualizovat Dockerfile

---
 Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 6c6a3e7..2b343c1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,8 @@
 FROM ubuntu:22.04
+RUN apt-get update; apt-get install -y wget gpg unzip
 RUN wget -O - https://apt.corretto.aws/corretto.key | gpg --dearmor -o /usr/share/keyrings/corretto-keyring.gpg && \
 echo "deb [signed-by=/usr/share/keyrings/corretto-keyring.gpg] https://apt.corretto.aws stable main" | tee /etc/apt/sources.list.d/corretto.list
-RUN apt-get update; apt-get install -y java-17-amazon-corretto-jdk unzip
+RUN apt-get update; apt-get install -y java-17-amazon-corretto-jdk
 COPY MinecraftStatsCLI.zip /source/MinecraftStatsCLI.zip
 COPY MinecraftStatsWeb.zip /source/MinecraftStatsWeb.zip
 RUN unzip /source/MinecraftStatsCLI.zip /opt/mcstatscli/