-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
38 lines (25 loc) · 900 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM adamveld12/steam
MAINTAINER Adam Veldhousen "adam@veldhousen.ninja"
WORKDIR /home/steam
RUN mkdir -p ./log/script/console && \
cp /home/dev/.tmux.conf ./.tmux.conf && \
cp /home/dev/.profile ./.profile
COPY ./credentials.sh ./credentials.sh
RUN . ./credentials.sh && \
/home/steam/steamcmd/steamcmd.sh \
+login $STEAMUSER $STEAMPASS \
+force_install_dir /home/steam \
+app_update 233780 validate \
+exit && \
rm -rf ./credentials.sh && \
export STEAMUSER="" && \
export STEAMPASS=""
COPY ./scripts .
COPY ./keys/id_rsa.pub /root/.ssh/authorized_keys
COPY ./keys/id_rsa.pub /steam/.ssh/authorized_keys
COPY ./configuration/ /configuration
COPY ./profiles/ /profiles
VOLUME ["/home/steam/mpmissions", "/home/steam/mods", "/configuration", "/profiles"]
EXPOSE 2345 2344 2305 2304 2303 2302 22
USER root
ENTRYPOINT ["./startup"]