generated from sh-edraft.de/docker-garrysmod
30 lines
585 B
Docker
30 lines
585 B
Docker
FROM cm2network/steamcmd:root
|
|
|
|
ENV GSLT="" \
|
|
SERVER_ID="default" \
|
|
MAP="PEI" \
|
|
NAME="Unturned Server" \
|
|
MAXPLAYERS="24" \
|
|
PORT="27015" \
|
|
PASSWORD="" \
|
|
OWNER="" \
|
|
PERSPECTIVE="Both" \
|
|
DIFFICULTY="Normal"
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends procps \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& mkdir -p /home/steam/unturned \
|
|
&& chown -R steam:steam /home/steam
|
|
|
|
WORKDIR /home/steam
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
EXPOSE 27015/udp
|
|
EXPOSE 27016/udp
|
|
|
|
USER steam
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"] |