-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM steamcmd-server | ||
USER root | ||
ENV APP_ID=232370 | ||
ENV SERVER_DIR="${SERVERS_DIR}/Half-Life 2 Deathmatch Dedicated Server" | ||
COPY ./start.sh "${IMAGE_DIR}/${START_SCRIPT}" | ||
RUN chown ${USER}:${USER} "${IMAGE_DIR}/${START_SCRIPT}" &&\ | ||
chmod +x "${IMAGE_DIR}/${START_SCRIPT}" &&\ | ||
dpkg --add-architecture i386 &&\ | ||
apt update &&\ | ||
apt-get install -y --no-install-suggests --no-install-recommends \ | ||
libtinfo5:i386 &&\ | ||
apt-get remove --purge --auto-remove -y &&\ | ||
rm -rf /var/lib/apt/lists/* | ||
USER ${USER} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
# Can't do autoupdate because a combination of the default game dir name | ||
# with spaces and the steamcmd runscript causes the srcds_run to completely break. | ||
"${SERVER_DIR}/srcds_run" -game hl2mp +map dm_lockdown "${START_ARGS}" | ||
|