Fix docker hub build order
This commit is contained in:
15
master/Dockerfile
Normal file
15
master/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM hackebein/garrysmod:minimal
|
||||
|
||||
ARG BASEDIR=/opt/garrysmod
|
||||
|
||||
RUN /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
|
19
master/cfg/mount.cfg
Normal file
19
master/cfg/mount.cfg
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
//
|
||||
// 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" ""
|
||||
}
|
||||
|
||||
|
11
master/cfg/mountdepots.txt
Normal file
11
master/cfg/mountdepots.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
"gamedepotsystem"
|
||||
{
|
||||
"cstrike" "1"
|
||||
//"hl1" "1"
|
||||
//"hl1_hd" "1"
|
||||
//"hl2" "1"
|
||||
//"hl2mp" "1"
|
||||
//"episodic" "1"
|
||||
//"ep2" "1"
|
||||
//"lostcoast" "1"
|
||||
}
|
2
master/cfg/server.cfg
Normal file
2
master/cfg/server.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
// Garry's Mod - Config
|
||||
exec ../volume/server.cfg
|
Reference in New Issue
Block a user