diff --git a/Dockerfile.ubuntu-2404 b/Dockerfile.ubuntu-2404 index 8e9da47..f66f8d4 100644 --- a/Dockerfile.ubuntu-2404 +++ b/Dockerfile.ubuntu-2404 @@ -5,6 +5,8 @@ # FROM ghcr.io/gameservermanagers/steamcmd:ubuntu-24.04 +## Remove ubuntu user added in 24.04 by default +RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu LABEL maintainer="LinuxGSM " ENV DEBIAN_FRONTEND noninteractive @@ -26,9 +28,6 @@ ENV GID=1001 SHELL ["/bin/bash", "-o", "pipefail", "-c"] -## Remove ubuntu user added in 24.04 by default -RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu - ## Install Base LinuxGSM Requirements RUN echo "**** Install Base LinuxGSM Requirements ****" \ && apt-get update \