File tree Expand file tree Collapse file tree 1 file changed +20
-19
lines changed
Expand file tree Collapse file tree 1 file changed +20
-19
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,25 @@ FROM steamcmd/steamcmd:ubuntu-18
22
33STOPSIGNAL SIGTERM
44
5+ # ###Environments####
6+
7+ ENV PUID=1000
8+ ENV PGID=1000
9+ ENV START_MODE=1
10+ ENV TEST_ALERT=no
11+ ENV TimeZone=Europe/Madrid
12+ ENV VERSION=public
13+ ENV MONITOR=yes
14+ ENV BACKUP=yes
15+ ENV LANG=en_US.utf8
16+ ENV HOME=/home/sfserver
17+
18+ # #Need use xterm for LinuxGSM##
19+ ENV TERM=xterm
20+ ENV DEBIAN_FRONTEND noninteractive
21+
22+ # ###Environments####
23+
524# #############BASE IMAGE##############
625
726# ###Labels####
@@ -44,24 +63,6 @@ RUN dpkg --add-architecture i386 && \
4463 libsdl2-2.0-0:i386 \
4564 xz-utils
4665
47- # ###Environments####
48-
49- ENV PUID=1000
50- ENV PGID=1000
51- ENV START_MODE=1
52- ENV TEST_ALERT=no
53- ENV TimeZone=Europe/Madrid
54- ENV VERSION=public
55- ENV MONITOR=yes
56- ENV BACKUP=yes
57- ENV LANG=en_US.utf8
58-
59- # #Need use xterm for LinuxGSM##
60- ENV TERM=xterm
61- ENV DEBIAN_FRONTEND noninteractive
62-
63- # ###Environments####
64-
6566# Install latest su-exec
6667RUN set -ex; \
6768 \
@@ -87,7 +88,7 @@ RUN apt clean && \
8788# #############BASE IMAGE##############
8889
8990# Create user
90- RUN adduser --disabled-password --shell /bin/bash --disabled-login --gecos "" sfserver
91+ RUN adduser --home /home/sfserver -- disabled-password --shell /bin/bash --disabled-login --gecos "" sfserver
9192
9293# Base dir
9394WORKDIR /home/sfserver
You can’t perform that action at this time.
0 commit comments