Aktualizovat Dockerfile
Some checks failed
Build Minecraft Stats Ownercz Image / Build-Minecraft-Stats-Image (push) Failing after 1m35s
Some checks failed
Build Minecraft Stats Ownercz Image / Build-Minecraft-Stats-Image (push) Failing after 1m35s
This commit is contained in:
parent
df97618092
commit
36fe685ce4
@ -1,5 +1,7 @@
|
|||||||
FROM ubuntu:22.04
|
FROM ubuntu:22.04
|
||||||
RUN apt update; apt-get install software-properties-common -y && wget -O- https://apt.corretto.aws/corretto.key | apt-key add - && add-apt-repository 'deb https://apt.corretto.aws stable main' && apt-get update; apt-get install -y java-17-amazon-corretto-jdk 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
|
||||||
COPY MinecraftStatsCLI.zip /source/MinecraftStatsCLI.zip
|
COPY MinecraftStatsCLI.zip /source/MinecraftStatsCLI.zip
|
||||||
COPY MinecraftStatsWeb.zip /source/MinecraftStatsWeb.zip
|
COPY MinecraftStatsWeb.zip /source/MinecraftStatsWeb.zip
|
||||||
RUN unzip /source/MinecraftStatsCLI.zip /opt/mcstatscli/
|
RUN unzip /source/MinecraftStatsCLI.zip /opt/mcstatscli/
|
||||||
|
Loading…
Reference in New Issue
Block a user