update PH dockerfile

This commit is contained in:
kenobi 2024-12-30 20:42:07 +01:00
parent f726f03659
commit 8f90a89cbc

View File

@ -1,4 +1,4 @@
FROM debian:buster-slim as lgsm FROM debian:12-slim as lgsm
# Const \\ Overwrite Env \\ Configs possible \\ Configs needed # Const \\ Overwrite Env \\ Configs possible \\ Configs needed
# C.UTF-8 -> en_US.UTF-8 # C.UTF-8 -> en_US.UTF-8
@ -8,12 +8,11 @@ ENV STEAM_PATH="/home/steam" \
GROUP_ID=10000 \ GROUP_ID=10000 \
USER_ID=10000 \ USER_ID=10000 \
DOCKER_USER=steam \ DOCKER_USER=steam \
SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.1.9/supercronic-linux-amd64 \ SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.28/supercronic-linux-amd64 \
SUPERCRONIC=supercronic-linux-amd64 \ SUPERCRONIC=supercronic-linux-amd64 \
SUPERCRONIC_SHA1SUM=5ddf8ea26b56d4a7ff6faecdd8966610d5cb9d85 \ SUPERCRONIC_SHA1SUM=fe1a81a8a5809deebebbd7a209a3b97e542e2bcd \
\ \
\ \
DEBIAN_FRONTEND=noninteractive \
LANG=C.UTF-8 \ LANG=C.UTF-8 \
TERM=xterm \ TERM=xterm \
\ \
@ -40,9 +39,10 @@ COPY ["lgsm/entrypoint.sh", "lgsm/initCron.sh", "lgsm/createAlias.sh", "/home/"]
# iproute2 needed because of "-slim" # iproute2 needed because of "-slim"
RUN dpkg --add-architecture i386 && \ RUN dpkg --add-architecture i386 && \
apt-get update -y && \ apt-get update -y && \
apt-get install -y bc binutils bsdmainutils bzip2 ca-certificates cpio curl file gzip hostname jq lib32gcc1 lib32stdc++6 netcat python3 tar tmux unzip util-linux wget xz-utils lib32gcc1 lib32stdc++6 libsdl2-2.0-0:i386 distro-info \ DEBIAN_FRONTEND=noninteractive apt-get install -y bc binutils bsdmainutils bzip2 ca-certificates cpio curl distro-info file gzip hostname jq lib32gcc-s1 lib32stdc++6 netcat-openbsd python3 tar tmux unzip util-linux uuid-runtime wget xz-utils \
libtinfo5:i386 \ lib32gcc-s1 lib32stdc++6 libsdl2-2.0-0:i386 \
procps iproute2 && \ libtinfo5:i386 \
procps iproute2 && \
\ \
groupadd -g $GROUP_ID $DOCKER_USER && \ groupadd -g $GROUP_ID $DOCKER_USER && \
useradd -d "$STEAM_PATH" -g $GROUP_ID -u $USER_ID -m $DOCKER_USER && \ useradd -d "$STEAM_PATH" -g $GROUP_ID -u $USER_ID -m $DOCKER_USER && \