commit 05e33df22c45b6e479cecabfa7c9c4aea599c625 Author: Paul Scheunemann Date: Thu Apr 13 11:17:11 2017 +0200 truncate history diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2a7d395 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM zombi/steam-base +MAINTAINER MadMaurice +EXPOSE 27015/udp + +RUN /opt/steamcmd/steamcmd.sh +login anonymous +force_install_dir /home/steam/insurgency +app_update 237410 validate +quit &&\ + chown -R steam /home/steam/insurgency + +WORKDIR /home/steam/insurgency + +USER steam + +ENTRYPOINT ["./srcds_run", "-game", "insurgency"] +CMD ["-console", "+mapgroup", "mg_active", "+map", "ministry", "+maxplayers", "8", "+mapcyclefile","mapcycle_cooperative.txt"] diff --git a/README.md b/README.md new file mode 100644 index 0000000..bd449d4 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +## steam-insurgency +steam-insurgency is the base image for an "Insurgency" server + +### Building steam-insurgency + +first build the `steam-base` image. + +``` +docker build -t zombi/steam-insurgency . +``` + +### Running steam-insurgency + +``` +docker run -d \ + --name insurgency-1 \ + -p 27015:27015/udp \ + -p 27015:27015 \ + zombi/steam-insurgency -console +mapgroup mg_active +map ministry \ + +maxplayers 8 +mapcyclefile mapcycle_cooperative.txt +``` + +to start up a simple server to drive out some infidels. + +a password can be set with `+sv_password password`