github.com/ralexstokes/docker@v1.6.2/builder/parser/testfiles/tf2/Dockerfile (about) 1 FROM ubuntu:12.04 2 3 EXPOSE 27015 4 EXPOSE 27005 5 EXPOSE 26901 6 EXPOSE 27020 7 8 RUN apt-get update && apt-get install libc6-dev-i386 curl unzip -y 9 RUN mkdir -p /steam 10 RUN curl http://media.steampowered.com/client/steamcmd_linux.tar.gz | tar vxz -C /steam 11 ADD ./script /steam/script 12 RUN /steam/steamcmd.sh +runscript /steam/script 13 RUN curl http://mirror.pointysoftware.net/alliedmodders/mmsource-1.10.0-linux.tar.gz | tar vxz -C /steam/tf2/tf 14 RUN curl http://mirror.pointysoftware.net/alliedmodders/sourcemod-1.5.3-linux.tar.gz | tar vxz -C /steam/tf2/tf 15 ADD ./server.cfg /steam/tf2/tf/cfg/server.cfg 16 ADD ./ctf_2fort.cfg /steam/tf2/tf/cfg/ctf_2fort.cfg 17 ADD ./sourcemod.cfg /steam/tf2/tf/cfg/sourcemod/sourcemod.cfg 18 RUN rm -r /steam/tf2/tf/addons/sourcemod/configs 19 ADD ./configs /steam/tf2/tf/addons/sourcemod/configs 20 RUN mkdir -p /steam/tf2/tf/addons/sourcemod/translations/en 21 RUN cp /steam/tf2/tf/addons/sourcemod/translations/*.txt /steam/tf2/tf/addons/sourcemod/translations/en 22 23 CMD cd /steam/tf2 && ./srcds_run -port 27015 +ip 0.0.0.0 +map ctf_2fort -autoupdate -steam_dir /steam -steamcmd_script /steam/script +tf_bot_quota 12 +tf_bot_quota_mode fill