From b0ce3465771ece138bf825aa6ea30cbdb5cdc955 Mon Sep 17 00:00:00 2001 From: alexveley Date: Sat, 25 Apr 2026 01:36:40 -0400 Subject: [PATCH] Fix Dockerfile: run apt and chmod as root, run container as container user. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4e8d501..87acb8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM ghcr.io/ptero-eggs/steamcmd:debian +USER root RUN apt-get update \ && apt-get install -y --no-install-recommends libnss-wrapper \ && rm -rf /var/lib/apt/lists/* @@ -7,5 +8,6 @@ RUN apt-get update \ COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh +USER container WORKDIR /home/container ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file