From 90057d2042494e799a0544cf0943d9c4151367ef Mon Sep 17 00:00:00 2001 From: Lucas Briese Date: Sun, 23 Sep 2018 11:26:47 +0200 Subject: [PATCH] ~ temp --- .project | 11 +++++++++++ Dockerfile | 9 ++------- 2 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 .project diff --git a/.project b/.project new file mode 100644 index 0000000..f64b954 --- /dev/null +++ b/.project @@ -0,0 +1,11 @@ + + + docker-ttt + + + + + + + + diff --git a/Dockerfile b/Dockerfile index a26a45f..c3be26f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,18 +15,13 @@ COPY ["entrypoint.sh", "/home/"] # removed dep. lib32gcc1 libtcmalloc-minimal4:i386 gdb RUN dpkg --add-architecture i386 && \ 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 && \ ulimit -n 2048 && \ \ locale-gen en_US.UTF-8 -USER "$USER_ID:$GROUP_ID" +USER "root:root" VOLUME "$SERVER_PATH" \ No newline at end of file