steam-arma3: Some improvements
This commit is contained in:
parent
3150bc4818
commit
35d21aa0e5
4 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
FROM zombi/steam-base
|
FROM zombi/steam-base
|
||||||
MAINTAINER MadMaurice <madmaurice@zom.bi>, Paul <paul@zom.bi>
|
MAINTAINER MadMaurice <madmaurice@zom.bi>, Paul <paul@zom.bi>
|
||||||
EXPOSE 2302-2305/udp
|
EXPOSE 2302-2305/udp 2308/udp
|
||||||
|
|
||||||
ADD bin/entrypoint.sh /entrypoint.sh
|
ADD bin/entrypoint.sh /entrypoint.sh
|
||||||
ADD server.cfg /home/steam
|
ADD server.cfg /home/steam
|
||||||
|
|
|
@ -17,6 +17,7 @@ docker build -t zombi/steam-arma3 .
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name arma3 \
|
--name arma3 \
|
||||||
-p 2302-2305:2302-2305/udp \
|
-p 2302-2305:2302-2305/udp \
|
||||||
|
-p 2308:2308/udp \
|
||||||
-v /data/steam-games:/home/steam/games \
|
-v /data/steam-games:/home/steam/games \
|
||||||
zombi/steam-arma3
|
zombi/steam-arma3
|
||||||
```
|
```
|
||||||
|
|
|
@ -35,9 +35,11 @@ then
|
||||||
/opt/steamcmd/steamcmd.sh \
|
/opt/steamcmd/steamcmd.sh \
|
||||||
+login $steam_user $steam_password\
|
+login $steam_user $steam_password\
|
||||||
+force_install_dir $installdir \
|
+force_install_dir $installdir \
|
||||||
+app_update $game_id -beta legacyPorts -betapassword Arma3LegacyPorts validate \
|
+app_update $game_id validate \
|
||||||
+quit
|
+quit
|
||||||
|
|
||||||
|
#+app_update $game_id -beta legacyPorts -betapassword Arma3LegacyPorts validate \
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
# install dir maybe mounted read-only, simply
|
# install dir maybe mounted read-only, simply
|
||||||
|
@ -64,6 +66,7 @@ if [ ! -x ./arma3server ]
|
||||||
then
|
then
|
||||||
# we cant run the game then.
|
# we cant run the game then.
|
||||||
echo "game launcher not found, installed incorrectly?"
|
echo "game launcher not found, installed incorrectly?"
|
||||||
|
ls -alh
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
hostname="Community Server";
|
hostname="Community Server";
|
||||||
passwordAdmin = "password";
|
passwordAdmin = "boobs";
|
||||||
maxPlayers = 20;
|
maxPlayers = 20;
|
||||||
motd[] = {"Welcome to the ARMA3 Server","Please enjoy your stay!"};
|
motd[] = {"Welcome to the ARMA3 Server","Please enjoy your stay!"};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue