-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
65 lines (55 loc) · 1.28 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
FROM debian:buster-slim
LABEL maintainer="Dzuelu - github.com/Dzuelu"
LABEL org.opencontainers.image.source=https://github.com/Dzuelu/arma-3-server
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update \
&& \
apt-get install -y --no-install-recommends --no-install-suggests \
ca-certificates \
lib32gcc1 \
lib32stdc++6 \
locales \
python3 \
rename \
wget \
&& \
apt-get remove --purge -y \
&& \
apt-get clean autoclean \
&& \
apt-get autoremove -y \
&& \
rm -rf /var/lib/apt/lists/* \
&& \
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \
&& \
mkdir -p /steamcmd
ENV LANG en_US.utf8
ENV PYTHONUNBUFFERED=1
ENV ARMA_BINARY="./arma3server"
ENV ARMA_CDLC=
ENV ARMA_CONFIG="main.cfg"
ENV ARMA_LIMITFPS=1000
ENV ARMA_PARAMS=
ENV ARMA_PROFILE="main"
ENV ARMA_WORLD="empty"
ENV DEBUG=0
ENV FORCE_DOWNLOAD_WORKSHOP=0
ENV HEADLESS_CLIENTS=0
ENV PORT=2302
ENV STEAM_BRANCH_PASSWORD=
ENV STEAM_BRANCH="public"
ENV STEAM_PASSWORD=
ENV STEAM_USERNAME=
ENV STEAM_VALIDATE=1
ENV WORKSHOP_MODS=
EXPOSE 2302/udp
EXPOSE 2303/udp
EXPOSE 2304/udp
EXPOSE 2305/udp
EXPOSE 2306/udp
WORKDIR /arma3
VOLUME /steamcmd
STOPSIGNAL SIGINT
COPY *.py /
CMD ["python3","/a3update.py"]