Aktualizovat Dockerfile
Build Minecraft Stats Ownercz Image / Build-Minecraft-Stats-Image (push) Failing after 2m43s Details

This commit is contained in:
Radim Lipovčan 2024-03-10 17:56:15 +01:00
parent 36fe685ce4
commit afe4d9652b
1 changed files with 2 additions and 1 deletions

View File

@ -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/