Add 'apk upgrade' command

This commit is contained in:
JeremyStar™ 2024-05-30 19:48:37 +02:00
parent d125dd3bdc
commit 072fc99908
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -5,6 +5,7 @@
FROM alpine AS builder
RUN nice -20 apk update
RUN nice -20 apk upgrade
RUN nice -20 apk add go git
RUN mkdir /builder /builder/bin
RUN git clone --depth=1 https://github.com/gorcon/rcon-cli /builder/rcon-cli
@ -27,6 +28,7 @@ LABEL org.opencontainers.image.licenses="GPL-3.0-only"
RUN true
RUN nice -20 apk update
RUN nice -20 apk upgrade
RUN nice -20 apk add openjdk21-jre openjdk17-jre openjdk11-jre
RUN mkdir /app
ADD entrypoint.sh /app/entrypoint.sh