Merge pull request #1 from Cypher100/patch-1

Run apt-get clean, and removed .bsp from +map
This commit is contained in:
Max Gonzih 2014-10-25 18:37:13 +02:00
commit a30dde2e4d

View file

@ -4,6 +4,7 @@ MAINTAINER Max Gonzih <gonzih at gmail dot com>
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install lib32gcc1 lib32z1 lib32ncurses5 lib32bz2-1.0 lib32asound2 wget RUN apt-get -y install lib32gcc1 lib32z1 lib32ncurses5 lib32bz2-1.0 lib32asound2 wget
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN adduser --gecos "" tf2 RUN adduser --gecos "" tf2
USER tf2 USER tf2
@ -19,4 +20,4 @@ RUN $SERVER/update.sh
EXPOSE 27015/udp EXPOSE 27015/udp
ENTRYPOINT ["/home/tf2/hlserver/tf.sh"] ENTRYPOINT ["/home/tf2/hlserver/tf.sh"]
CMD ["+sv_pure", "1", "+mapcycle", "mapcycle_quickplay_payload.txt", "+map", "pl_badwater.bsp", "+maxplayers", "24"] CMD ["+sv_pure", "1", "+mapcycle", "mapcycle_quickplay_payload.txt", "+map", "pl_badwater", "+maxplayers", "24"]