remove recommended
This commit is contained in:
parent
b8534def77
commit
6285c193ff
@ -1,59 +0,0 @@
|
|||||||
FROM hackebein/steamcmd:latest
|
|
||||||
|
|
||||||
ARG BASEDIR=/opt/garrysmod
|
|
||||||
ONBUILD ARG BASEDIR=$BASEDIR
|
|
||||||
|
|
||||||
ENV BASEDIR=$BASEDIR \
|
|
||||||
PORT="27015" \
|
|
||||||
TICKRATE="66" \
|
|
||||||
MAXPLAYERS="16" \
|
|
||||||
#http://steamcommunity.com/dev/apikey
|
|
||||||
AUTHKEY="" \
|
|
||||||
WORKSHOPCOLLECTIONID="" \
|
|
||||||
CLIENTPORT="27005" \
|
|
||||||
# sandbox or terrortown
|
|
||||||
GAMEMODE="sandbox" \
|
|
||||||
MAP="gm_flatgrass" \
|
|
||||||
#http://steamcommunity.com/dev/managegameservers APPID: 4000
|
|
||||||
GLST="" \
|
|
||||||
CONFIG="${GAMEMODE}.cfg" \
|
|
||||||
CUSTOMPARAMETERS=""
|
|
||||||
|
|
||||||
RUN apt-get update -q && \
|
|
||||||
apt-get install -yqq lib32tinfo5 && \
|
|
||||||
apt-get clean && \
|
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
|
|
||||||
/usr/games/steamcmd \
|
|
||||||
+login anonymous \
|
|
||||||
+force_install_dir $BASEDIR \
|
|
||||||
# cstrike
|
|
||||||
+app_update 232330 -validate -language en \
|
|
||||||
# garrysmod
|
|
||||||
+app_update 4020 -validate -language en \
|
|
||||||
+quit && \
|
|
||||||
rm -rf $BASEDIR/garrysmod/cfg/*
|
|
||||||
|
|
||||||
COPY cfg $BASEDIR/garrysmod/cfg
|
|
||||||
|
|
||||||
WORKDIR $BASEDIR
|
|
||||||
|
|
||||||
EXPOSE 27015/udp
|
|
||||||
|
|
||||||
CMD [ \
|
|
||||||
"sh", \
|
|
||||||
"-c", \
|
|
||||||
"$BASEDIR/srcds_run \
|
|
||||||
-game garrysmod \
|
|
||||||
-strictportbind \
|
|
||||||
-port ${PORT} \
|
|
||||||
-tickrate ${TICKRATE} \
|
|
||||||
-maxplayers ${MAXPLAYERS} \
|
|
||||||
-authkey ${AUTHKEY} \
|
|
||||||
+host_workshop_collection ${WORKSHOPCOLLECTIONID} \
|
|
||||||
+clientport ${CLIENTPORT} \
|
|
||||||
+gamemode ${GAMEMODE} \
|
|
||||||
+map ${MAP} \
|
|
||||||
+sv_setsteamaccount ${GLST} \
|
|
||||||
+servercfgfile ${CONFIG} \
|
|
||||||
${CUSTOMPARAMETERS}" \
|
|
||||||
]
|
|
@ -1,19 +0,0 @@
|
|||||||
|
|
||||||
//
|
|
||||||
// Use this file to mount additional paths to the filesystem
|
|
||||||
// DO NOT add a slash to the end of the filename
|
|
||||||
//
|
|
||||||
|
|
||||||
"mountcfg"
|
|
||||||
{
|
|
||||||
"cstrike" "cstrike"
|
|
||||||
//"hl1" ""
|
|
||||||
//"hl1_hd" ""
|
|
||||||
//"hl2" ""
|
|
||||||
//"hl2mp" ""
|
|
||||||
//"episodic" ""
|
|
||||||
//"ep2" ""
|
|
||||||
//"lostcoast" ""
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
"gamedepotsystem"
|
|
||||||
{
|
|
||||||
"cstrike" "1"
|
|
||||||
//"hl1" "1"
|
|
||||||
//"hl1_hd" "1"
|
|
||||||
//"hl2" "1"
|
|
||||||
//"hl2mp" "1"
|
|
||||||
//"episodic" "1"
|
|
||||||
//"ep2" "1"
|
|
||||||
//"lostcoast" "1"
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
// Garry's Mod - sandbox - Config
|
|
||||||
// https://github.com/garrynewman/garrysmod/blob/master/garrysmod/gamemodes/sandbox/sandbox.txt
|
|
||||||
exec server.cfg
|
|
||||||
exec my.sandbox.cfg
|
|
@ -1,3 +0,0 @@
|
|||||||
// Garry's Mod - Config
|
|
||||||
// https://developer.valvesoftware.com/wiki/Console_Command_List
|
|
||||||
exec my.server.cfg
|
|
@ -1,4 +0,0 @@
|
|||||||
// Garry's Mod - terrortown - Config
|
|
||||||
// https://github.com/garrynewman/garrysmod/blob/master/garrysmod/gamemodes/terrortown/terrortown.txt
|
|
||||||
exec server.cfg
|
|
||||||
exec my.terrortown.cfg
|
|
Loading…
Reference in New Issue
Block a user