Fix path cuz stupid

This commit is contained in:
JeremyStar™ 2024-05-30 19:12:55 +02:00
parent 0c7ea1f566
commit b2fc0f661c
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -5,7 +5,7 @@
############################# #############################
FROM ghcr.io/archlinux/archlinux:latest AS builder FROM ghcr.io/archlinux/archlinux:latest AS builder
RUN sed "s/SigLevel\ \ \ \ \=\ Required\ DatabaseOptional/SigLevel\ \=\ Optional/g" -i pacman.conf RUN sed "s/SigLevel\ \ \ \ \=\ Required\ DatabaseOptional/SigLevel\ \=\ Optional/g" -i /etc/pacman.conf
RUN nice -20 pacman -Syu --noconfirm go base-devel git RUN nice -20 pacman -Syu --noconfirm go base-devel git
RUN mkdir /builder /builder/bin RUN mkdir /builder /builder/bin
RUN git clone --depth=1 https://github.com/gorcon/rcon-cli /builder/rcon-cli RUN git clone --depth=1 https://github.com/gorcon/rcon-cli /builder/rcon-cli
@ -26,7 +26,7 @@ LABEL org.opencontainers.image.documentation="https://git.staropensource.de/Jere
LABEL org.opencontainers.image.source="https://git.staropensource.de/JeremyStarTM/MCServerDocker" LABEL org.opencontainers.image.source="https://git.staropensource.de/JeremyStarTM/MCServerDocker"
LABEL org.opencontainers.image.licenses="GPL-3.0-only" LABEL org.opencontainers.image.licenses="GPL-3.0-only"
RUN sed "s/SigLevel\ \ \ \ \=\ Required\ DatabaseOptional/SigLevel\ \=\ Optional/g" -i pacman.conf RUN sed "s/SigLevel\ \ \ \ \=\ Required\ DatabaseOptional/SigLevel\ \=\ Optional/g" -i /etc/pacman.conf
RUN nice -20 pacman -Syu --noconfirm jre17-openjdk jre11-openjdk jre8-openjdk RUN nice -20 pacman -Syu --noconfirm jre17-openjdk jre11-openjdk jre8-openjdk
RUN mkdir /app RUN mkdir /app
ADD entrypoint.sh /app/entrypoint.sh ADD entrypoint.sh /app/entrypoint.sh