~ temp
This commit is contained in:
parent
591b5d591a
commit
90057d2042
11
.project
Normal file
11
.project
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>docker-ttt</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
@ -15,18 +15,13 @@ COPY ["entrypoint.sh", "/home/"]
|
|||||||
# removed dep. lib32gcc1 libtcmalloc-minimal4:i386 gdb
|
# removed dep. lib32gcc1 libtcmalloc-minimal4:i386 gdb
|
||||||
RUN dpkg --add-architecture i386 && \
|
RUN dpkg --add-architecture i386 && \
|
||||||
apt-get update -y && \
|
apt-get update -y && \
|
||||||
apt-get install -y wget tar gzip ca-certificates lib32gcc1 lib32stdc++6 lib32ncurses5 lib32z1 locale-gen && \
|
apt-get install -y wget tar gzip ca-certificates lib32gcc1 lib32stdc++6 lib32ncurses5 lib32z1 locales && \
|
||||||
\
|
\
|
||||||
groupadd -g $GROUP_ID $DOCKER_USER && \
|
|
||||||
useradd -d /home/steam/ -g $GROUP_ID -u $USER_ID -m $DOCKER_USER && \
|
|
||||||
chown "$DOCKER_USER:$DOCKER_USER" /home/entrypoint.sh && \
|
|
||||||
mkdir -p "$SERVER_PATH" && \
|
|
||||||
chown -R "$DOCKER_USER:$DOCKER_USER" "$STEAM_PATH" && \
|
|
||||||
chmod a=rx /home/entrypoint.sh && \
|
chmod a=rx /home/entrypoint.sh && \
|
||||||
ulimit -n 2048 && \
|
ulimit -n 2048 && \
|
||||||
\
|
\
|
||||||
locale-gen en_US.UTF-8
|
locale-gen en_US.UTF-8
|
||||||
|
|
||||||
USER "$USER_ID:$GROUP_ID"
|
USER "root:root"
|
||||||
|
|
||||||
VOLUME "$SERVER_PATH"
|
VOLUME "$SERVER_PATH"
|
Loading…
Reference in New Issue
Block a user