-
Notifications
You must be signed in to change notification settings - Fork 71
/
Dockerfile
67 lines (58 loc) · 1.41 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
FROM debian:bullseye-slim
LABEL maintainer="Brett - github.com/brettmayson"
LABEL org.opencontainers.image.source=https://github.com/brettmayson/arma3server
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update \
&& \
apt-get install -y --no-install-recommends --no-install-suggests \
python3 \
lib32stdc++6 \
lib32gcc-s1 \
libcurl4 \
wget \
ca-certificates \
&& \
apt-get remove --purge -y \
&& \
apt-get clean autoclean \
&& \
apt-get autoremove -y \
&& \
rm -rf /var/lib/apt/lists/* \
&& \
mkdir -p /steamcmd \
&& \
wget -qO- 'https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz' | tar zxf - -C /steamcmd
ENV ARMA_BINARY=./arma3server
ENV ARMA_CONFIG=main.cfg
ENV ARMA_PARAMS=
ENV ARMA_PROFILE=main
ENV ARMA_WORLD=empty
ENV ARMA_LIMITFPS=1000
ENV ARMA_CDLC=
ENV HEADLESS_CLIENTS=0
ENV HEADLESS_CLIENTS_PROFILE="\$profile-hc-\$i"
ENV PORT=2302
ENV STEAM_BRANCH=public
ENV STEAM_BRANCH_PASSWORD=
ENV STEAM_ADDITIONAL_DEPOT=
ENV MODS_LOCAL=true
ENV MODS_PRESET=
ENV SKIP_INSTALL=false
EXPOSE 2302/udp
EXPOSE 2303/udp
EXPOSE 2304/udp
EXPOSE 2305/udp
EXPOSE 2306/udp
WORKDIR /arma3
VOLUME /steamcmd
VOLUME /arma3/addons
VOLUME /arma3/enoch
VOLUME /arma3/expansion
VOLUME /arma3/jets
VOLUME /arma3/heli
VOLUME /arma3/orange
VOLUME /arma3/argo
STOPSIGNAL SIGINT
COPY *.py /
CMD ["python3","/launch.py"]