Skip to content

Commit a0ff41c

Browse files
authored
Update Dockerfile.ubuntu-2404
1 parent f91738a commit a0ff41c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile.ubuntu-2404

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#
66

77
FROM ghcr.io/gameservermanagers/steamcmd:ubuntu-24.04
8+
## Remove ubuntu user added in 24.04 by default
9+
RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu
810

911
LABEL maintainer="LinuxGSM <me@danielgibbs.co.uk>"
1012
ENV DEBIAN_FRONTEND noninteractive
@@ -26,9 +28,6 @@ ENV GID=1001
2628

2729
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
2830

29-
## Remove ubuntu user added in 24.04 by default
30-
RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu
31-
3231
## Install Base LinuxGSM Requirements
3332
RUN echo "**** Install Base LinuxGSM Requirements ****" \
3433
&& apt-get update \

0 commit comments

Comments
 (0)