-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (35 loc) · 1.05 KB
/
Dockerfile
File metadata and controls
41 lines (35 loc) · 1.05 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
# syntax=docker/dockerfile:1.7
FROM lancommander/steamcmd:latest
# SteamCMD settings
ENV STEAM_APP_ID="232330"
ENV START_EXE="srcds_run"
ENV START_ARGS="-game cstrike -console +map de_dust2"
ENV INSTALL_SOURCEMOD="true"
ENV SOURCEMOD_MAJOR_VERSION="1.12"
ENV SOURCEMOD_VERSION="1.12.0-git7221"
ENV GAME_MOD="cstrike"
ENV METAMOD_MAJOR_VERSION="1.12"
ENV METAMOD_VERSION="1.12.0-git1219"
ENV HTTP_FILESERVER_ENABLED="true"
ENV HTTP_FILESERVER_WEB_ROOT="/config/Merged/cstrike"
ENV HTTP_FILESERVER_FILE_PATTERN="^/(maps|materials|models|sound)/.*\.(bz2|ztmp|bsp|nav|res|mdl|vvd|vtx|phy|ani|vmt|vtf|wav|mp3)$"
# ----------------------------
# 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 27015/udp
EXPOSE 27020/udp
EXPOSE 80/tcp
# COPY Modules/ "${BASE_MODULES}/"
COPY Hooks/ "${BASE_HOOKS}/"
WORKDIR /config
ENTRYPOINT ["/usr/local/bin/entrypoint.ps1"]