-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathDockerfile
More file actions
64 lines (53 loc) · 1.29 KB
/
Dockerfile
File metadata and controls
64 lines (53 loc) · 1.29 KB
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
FROM debian:bookworm-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 \
python3-pip \
lib32stdc++6 \
lib32gcc-s1 \
libcurl4 \
wget \
ca-certificates \
curl \
libstdc++6 \
libssl3 \
libc6 \
git \
&& \
apt-get remove --purge -y \
&& \
apt-get clean autoclean \
&& \
apt-get autoremove -y \
&& \
rm -rf /var/lib/apt/lists/*
RUN pip3 install -U zstandard "git+https://github.com/brettmayson/valvepythonsteam#egg=steam[client]"
ENV PYTHONUNBUFFERED=1
ENV ARMA_BINARY=./arma3server_x64
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 MODS_LOCAL=true
ENV CLEAR_KEYS=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 /arma3/server
STOPSIGNAL SIGINT
COPY *.py /
CMD ["python3","/launch.py"]