Skip to content

Commit

Permalink
Update settings
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardxfce committed May 1, 2021
1 parent 57c4120 commit 12abba9
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:8
FROM debian:stable-slim

RUN apt-get update -qq \
&& apt-get install -y --no-install-recommends \
Expand All @@ -15,32 +15,18 @@ USER steam
RUN wget -nv https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz && \
tar -xvzf steamcmd_linux.tar.gz

RUN /home/steam/steamcmd.sh +login anonymous +force_install_dir /home/steam/cs16 +app_update 90 validate +quit
RUN /home/steam/steamcmd.sh +login anonymous +force_install_dir /home/steam/cs16 +app_update 70 validate +quit || :
RUN /home/steam/steamcmd.sh +login anonymous +force_install_dir /home/steam/cs16 +app_update 10 validate +quit || :
RUN /home/steam/steamcmd.sh +login anonymous +force_install_dir /home/steam/cs16 +app_update 90 validate +quit
RUN /home/steam/steamcmd.sh +login anonymous +force_install_dir /home/steam/cs16 +app_update 90 validate +quit; \
while [$? -ne 0]; do sh home/steam/steamcmd.sh +login anonymous +force_install_dir /home/steam/cs16 +app_update 90 validate +quit; \
done

RUN mkdir -p ~/.steam && ln -s ~/linux32 ~/.steam/sdk32

WORKDIR /home/steam/cs16

# Add metamod
RUN mkdir -p cstrike/addons/metamod/dlls
COPY metamod_i386.so cstrike/addons/metamod/dlls/
COPY metamod.so cstrike/addons/metamod/dlls/

# Add bots
COPY podbot cstrike/addons/podbot
RUN echo "linux addons/podbot/podbot_mm_i386.so" > cstrike/addons/metamod/plugins.ini
COPY liblist.gam cstrike/

# Copy ESL configs
COPY *.cfg cstrike/

# Install aim maps
COPY AimMapCs1.6/cstrike cstrike/

EXPOSE 27015/tcp
EXPOSE 27015/udp

CMD ./hlds_run -game cstrike -strictportbind -autoupdate -ip 0.0.0.0 +sv_lan 1 +map aim_map -maxplayers 32
CMD ./hlds_run -game cstrike -strictportbind -autoupdate -ip 0.0.0.0 +sv_lan 0 +map aim_map -maxplayers 32

0 comments on commit 12abba9

Please sign in to comment.