Fix docker hub build order

This commit is contained in:
Lars Olzem
2017-01-16 04:27:47 +00:00
parent 987d5c2aa7
commit 4ee216def5
5 changed files with 1 additions and 1 deletions

15
master/Dockerfile Normal file
View 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
View 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" ""
}

View 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
View File

@@ -0,0 +1,2 @@
// Garry's Mod - Config
exec ../volume/server.cfg