Sign inSign up

hldsdocker/gearbox

By hldsdocker

•Updated over 1 year ago

A clean HLDS Docker image (gearbox)

Image
0

1.6K

hldsdocker/gearbox repository overview

Docker Pulls Docker Image Size GitHub Actions Workflow Status Codacy Badge Hits

Docker logoMod logo

This Docker image contains the HLDS of the gearbox 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⁠).

⁠Usage

⁠Default fast start
docker run --rm -ti hldsdocker/gearbox:public 

This will start you gearbox server with the default startup parameters specified in CMD.

⁠Custom launch params
docker run --rm -ti -p 27015:27015/udp hldsdocker/gearbox:public ./hlds_run -game gearbox +ip 0.0.0.0 -port 27015 +map crossfire

⁠About

⁠CMD

The default CMD for an image is:

CMD ["bash", "-c", "./hlds_run -game gearbox +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 gearbox/mapcycle.txt to enable the server.

These values allow you to execute a string of initialization commands before calling the game binary.

⁠WORKDIR

The default work directory⁠ for all the images is /home/hlds within which all of a game's files reside.

Tag summary

Content type

Image

Digest

sha256:30c8adbac…

Size

486.3 MB

Last updated

over 1 year ago

docker pull hldsdocker/gearbox