prophunt-garrysmod/Dockerfile

28 lines
901 B
Docker
Raw Normal View History

2018-09-25 11:01:59 +02:00
FROM ubuntu:16.04
2018-09-23 10:13:38 +02:00
EXPOSE 27015/udp 27015/tcp
ENV STEAM_PATH="/home/steam" \
SERVER_PATH="/home/steam/server" \
GROUP_ID=10000 \
USER_ID=10000 \
DOCKER_USER=steam
ENTRYPOINT ["./home/entrypoint.sh"]
2018-09-25 11:01:59 +02:00
CMD ["-game", "garrysmod", "+gamemode", "sandbox", "+map", "gm_flatgrass"]
2018-09-23 10:13:38 +02:00
COPY ["entrypoint.sh", "/home/"]
2018-09-25 11:01:59 +02:00
# removed dep. lib32gcc1 libtcmalloc-minimal4:i386 gdb libreadline5
2018-09-23 10:13:38 +02:00
RUN dpkg --add-architecture i386 && \
2018-09-25 11:01:59 +02:00
apt-get update -y && apt-get upgrade -y && \
apt-get install -y wget tar gzip ca-certificates locales && \
apt-get install -y postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux lib32gcc1 libstdc++6 libstdc++6:i386 lib32tinfo5 && \
apt-get install -y gcc lib32stdc++6 gdb net-tools lib32z1 zlib1g zlibc curl && \
2018-09-23 10:13:38 +02:00
chmod a=rx /home/entrypoint.sh && \
\
locale-gen en_US.UTF-8
2018-09-23 11:26:47 +02:00
USER "root:root"
2018-09-23 10:13:38 +02:00
VOLUME "$SERVER_PATH"