forked from Ekman/Nightingale-Docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (17 loc) · 793 Bytes
/
Dockerfile
File metadata and controls
24 lines (17 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM cm2network/steamcmd:root
LABEL org.opencontainers.image.source="https://github.com/Ekman/Nightingale"
LABEL org.opencontainers.image.authors="Niklas Ekman <nikl.ekman@gmail.com>"
ENV GAME_DIR="$HOMEDIR/game" \
GAME_ID="3796810" \
DEBIAN_FRONTEND="noninteractive"
EXPOSE 7777/udp
RUN apt-get update \
&& apt-get full-upgrade --yes \
&& apt-get install --yes --no-install-recommends --no-install-suggests tini gosu \
&& apt-get autoremove --yes --purge \
&& apt-get clean \
&& apt-get autoclean
ADD --chown="$USER":"$USER" scripts/docker-entrypoint.sh /
VOLUME [ "$GAME_DIR", "$HOMEDIR/steamcmd", "$HOMEDIR/.config" ]
# See: https://github.com/docker-library/official-images#init
ENTRYPOINT [ "tini", "-ve", "143", "--", "bash", "/docker-entrypoint.sh" ]