-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (27 loc) · 910 Bytes
/
Dockerfile
File metadata and controls
34 lines (27 loc) · 910 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
25
26
27
28
29
30
31
32
33
34
# syntax=docker/dockerfile:1.7
FROM lancommander/base:latest
ENV cMod_URL="https://github.com/Chomenor/ioef-cmod/releases/download/v1.30/ioEF-cMod_v1.30_linux_x86_64.zip"
# Server settings
ENV START_EXE="./cMod-dedicated"
ENV START_ARGS="+set dedicated 2 +set sv_allowDownload 1 +set sv_dlURL \"\" +set com_hunkmegs 64"
ENV HTTP_FILESERVER_ENABLED="true"
ENV HTTP_FILESERVER_WEB_ROOT="/config/Merged"
ENV HTTP_FILESERVER_FILE_PATTERN="^/.*\.(pk3|arena|bot|jpg|tga|wav|ogg)$"
# ----------------------------
# Dependencies
# ----------------------------
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
bzip2 \
tar \
unzip \
xz-utils \
p7zip-full \
gosu \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 27960/udp
# COPY Modules/ "${BASE_MODULES}/"
COPY Hooks/ "${BASE_HOOKS}/"
WORKDIR /config
ENTRYPOINT ["/usr/local/bin/entrypoint.ps1"]