This is a HLDS setup I made for CS with custom addons and an easy ramp-up. It also fixes several installation issues most people have when trying to create a dedicated CS server.
When doing a clean HLDS installation, as suggested on Steam manual, a few issues may arise.
This Docker image fix all these errors below so you don't have to worry:
app_update 90 several times and it wouldn't install all needed files. This is a hard
one to solve, and I did it with help of this
workaround.
What it does is basically add 3 manifest files on hlds/steamapps folder
and proceeds the installation.steam_appid.txt file on hlds folder.$HOME/.steam/sdk32/steamclient.so files. The
fix is quite easy: we just need to link these files onto the expected path.custom.hpk file. This can get annoying and
make us think that there's something wrong. Don't worry, this is just a file
used to store custom sprays from people who connect to the server. The fix
for that is creating a blank cstrike/custom.hpk file when we start the
server for the first time.FROM kriansa/cs-16
# Runtime settings
ENV RCON_PASSWORD=""
ENV SV_PASSWORD=""
ENV MAXPLAYERS="32"
ENV MAPNAME="de_dust2"
# Send our custom server.cfg to server and set the right permissions to it
USER root
ADD my-custom-server.cfg cstrike/server.cfg
RUN chown steam:steam cstrike/server.cfg
USER steam
Content type
Image
Digest
Size
710.7 MB
Last updated
over 6 years ago
docker pull kriansa/cs-16