A clean HLDS Docker image (ricochet)
1.4K


This Docker image contains the HLDS of the ricochet game.
At 00:00 on Sunday using GitHub Actions, all images are automatically rebuilt and published to Docker Hub (https://hub.docker.com/u/hldsdocker).
docker run --rm -ti hldsdocker/ricochet:public
This will start you ricochet server with the default startup parameters specified in CMD.
docker run --rm -ti -p 27015:27015/udp hldsdocker/ricochet:public ./hlds_run -game ricochet +ip 0.0.0.0 -port 27015 +map crossfire
The default CMD for an image is:
CMD ["bash", "-c", "./hlds_run -game ricochet +ip 0.0.0.0 -port 27016 +map $(grep -oE '^\\s*(\\w+)' ./${MOD}/mapcycle.txt | head -n 1 | xargs)"]]
Note
`$(grep -oE '^\\s*(\\w+)' ./${MOD}/mapcycle.txt | head -n 1 | xargs)` - takes the first line (map name) from ricochet/mapcycle.txt to enable the server.
These values allow you to execute a string of initialization commands before calling the game binary.
The default work directory for all the images is /home/hlds within which all of a game's files reside.
Content type
Image
Digest
sha256:bef61af0a…
Size
344 MB
Last updated
over 1 year ago
docker pull hldsdocker/ricochet