Skip to content

About

A collection of Docker images for various game servers, maintained by the team behind LANCommander

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

312 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LANCommander Game Servers

Docker images for dedicated game servers, maintained by the team behind LANCommander. Every image is published to Docker Hub under lancommander/<name> and is built from its own directory in Servers/.

Layout

Every image has the same shape:

Servers/<Name>/
├── Dockerfile        # build file; title/description/LANCommander labels live here
├── README.md         # docs; also pushed to Docker Hub as the image description
├── compose.yml       # ready-to-run example, identical to the one in README.md
├── server.json       # Docker Hub image name (and optional extra tag suffixes)
├── Documentation/    # longer docs, published to the LANCommander docs site
├── Hooks/<HookPoint>/NN-Name.ps1   # PowerShell hooks copied into the image
└── Scripts/ ...      # launchers and other files the Dockerfile COPYs

<Name> is PascalCase (CounterStrikeSource, HalfLife2Deathmatch). It's the prefix of the image's release tags and of its server:<Name> issue label. The image name is in server.json and doesn't always match the directory (Battlefield1942 → lancommander/bf1942).

server.json:

{
  "image": "lancommander/counterstrikesource"
}
Key Meaning
image Docker Hub repository. Required.
base true for base layers other images build on (Base, SteamCMD, WINE).
tagSuffixes Extra tag variants. WINE uses ["", "-gui"] to keep pushing its old -gui aliases.

The base images form a chain: Base → SteamCMD → HalfLife → NaturalSelection, and Base → WINE. Game images build FROM lancommander/<base>:latest, so a base change reaches them when they're next built; it doesn't rebuild them.

Builds and releases

One workflow (.github/workflows/build.yml) handles every image.

Event What happens
Pull request, push to main Builds only the images whose directories changed. Nothing is pushed. Changes to only README.md, compose.yml or Documentation/ don't rebuild.
README change on main Pushes that image's README to Docker Hub as its description.
Tag <Name>/v<version> Builds Servers/<Name>, pushes lancommander/<image>:<version> and :latest, and updates the Docker Hub description from its README.
Manual run (Actions → Build images) Builds the listed images (or all) with a chosen version; pushes unless told not to.

To release Counter-Strike: Source 1.0.1:

git tag CounterStrikeSource/v1.0.1
git push origin CounterStrikeSource/v1.0.1

The workflow needs the repository secrets DOCKERHUB_USERNAME and DOCKERHUB_TOKEN (a token with read/write/delete access, which updating the Docker Hub description requires), and DOCUMENTATION_DISPATCH_TOKEN for the docs site.

Building locally

docker build -t lancommander/counterstrikesource:local Servers/CounterStrikeSource

# against a locally built base image
docker build -t lancommander/steamcmd:local Servers/SteamCMD
docker build --build-arg BASE_IMAGE=lancommander/steamcmd:local \
  -t lancommander/counterstrikesource:local Servers/CounterStrikeSource

Adding a server

  1. Copy the closest existing server directory to Servers/<Name>/ and rename everything in it.
  2. Set image in server.json, and the title/description labels in the Dockerfile.
  3. Keep the compose example in README.md and compose.yml identical.
  4. Run python3 scripts/servers.py generate to add it to the issue form and the lists below, then python3 scripts/servers.py check. CI runs the same check.

Issues

Use the Server problem form and pick the server; the issue is labelled server:<Name> for triage. Requests for new games use the New server request form.

Images

Base image Image Directory
LANCommander Game Server Base lancommander/base Servers/Base
Generic SteamCMD Game Server lancommander/steamcmd Servers/SteamCMD
Generic WINE Runtime Image lancommander/wine Servers/WINE
Server Image Directory
Age of Chivalry lancommander/ageofchivalry Servers/AgeOfChivalry
Aliens vs. Predator 2 lancommander/aliensvspredator2 Servers/AliensVsPredator2
America's Army lancommander/americasarmy Servers/AmericasArmy
AquaNox lancommander/aquanox Servers/AquaNox
Atomic Bomberman lancommander/atomicbomberman Servers/AtomicBomberman
Battlefield 1942 lancommander/bf1942 Servers/Battlefield1942
Battlefield: Bad Company 2 lancommander/battlefieldbadcompany2 Servers/BattlefieldBadCompany2
Battlefield Vietnam lancommander/battlefieldvietnam Servers/BattlefieldVietnam
Blockland lancommander/blockland Servers/Blockland
Call of Duty lancommander/callofduty Servers/CallOfDuty
Call of Duty 2 lancommander/callofduty2 Servers/CallOfDuty2
Call of Duty 4: Modern Warfare lancommander/callofduty4 Servers/CallOfDuty4
Call of Juarez: Bound in Blood lancommander/callofjuarezboundinblood Servers/CallOfJuarezBoundInBlood
Chivalry: Medieval Warfare lancommander/chivalry Servers/Chivalry
Command & Conquer: Renegade lancommander/commandandconquerrenegade Servers/CommandAndConquerRenegade
Commandos: Behind Enemy Lines lancommander/commandosbehindenemylines Servers/CommandosBehindEnemyLines
Counter-Strike: Source lancommander/counterstrikesource Servers/CounterStrikeSource
Daikatana lancommander/daikatana Servers/Daikatana
Day of Defeat: Source lancommander/dayofdefeatsource Servers/DayOfDefeatSource
Deer Hunter 2005 lancommander/deerhunter2005 Servers/DeerHunter2005
Delta Force: Black Hawk Down lancommander/deltaforceblackhawkdown Servers/DeltaForceBlackHawkDown
Deus Ex lancommander/deusex Servers/DeusEx
Devastation lancommander/devastation Servers/Devastation
Doom 3 lancommander/doom3 Servers/Doom3
Double Action: Boogaloo lancommander/doubleactionboogaloo Servers/DoubleActionBoogaloo
Star Trek: Elite Force lancommander/eliteforce Servers/EliteForce
Far Cry lancommander/farcry Servers/FarCry
F.E.A.R. lancommander/fear Servers/FEAR
Fistful of Frags lancommander/fistfuloffrags Servers/FistfulOfFrags
Freelancer lancommander/freelancer Servers/Freelancer
Giants: Citizen Kabuto lancommander/giantscitizenkabuto Servers/GiantsCitizenKabuto
Global Operations lancommander/globaloperations Servers/GlobalOperations
GoldenEye: Source lancommander/goldeneyesource Servers/GoldenEyeSource
Half-Life lancommander/halflife Servers/HalfLife
Half-Life 2: Deathmatch lancommander/halflife2deathmatch Servers/HalfLife2Deathmatch
Hexen II lancommander/hexen2 Servers/Hexen2
Ice Lakes lancommander/icelakes Servers/IceLakes
Jedi Knight: Jedi Academy lancommander/jediacademy Servers/JediAcademy
Star Wars Jedi Knight: Dark Forces II lancommander/jediknight Servers/JediKnight
Jedi Knight II: Jedi Outcast lancommander/jedioutcast Servers/JediOutcast
King Arthur's Gold lancommander/kingarthursgold Servers/KingArthursGold
Kiss: Psycho Circus - The Nightmare Child lancommander/kisspsychocircus Servers/KissPsychoCircus
Left 4 Dead lancommander/left4dead Servers/Left4Dead
Left 4 Dead 2 lancommander/left4dead2 Servers/Left4Dead2
Legends of Might and Magic lancommander/legendsofmightandmagic Servers/LegendsOfMightAndMagic
Marvel Heroes lancommander/marvelheroes Servers/MarvelHeroes
Medal of Honor: Allied Assault lancommander/medalofhonoralliedassault Servers/MedalOfHonorAlliedAssault
Minecraft: Java Edition lancommander/minecraft Servers/Minecraft
Mobile Forces lancommander/mobileforces Servers/MobileForces
The Elder Scrolls III: Morrowind lancommander/morrowind Servers/Morrowind
Natural Selection lancommander/naturalselection Servers/NaturalSelection
James Bond 007: Nightfire lancommander/nightfire Servers/Nightfire
The Operative: No One Lives Forever lancommander/noonelivesforever Servers/NoOneLivesForever
OpenArena lancommander/openarena Servers/OpenArena
Pirates, Vikings, and Knights II lancommander/piratesvikingsandknightsii Servers/PiratesVikingsAndKnightsII
Portal Knights lancommander/portalknights Servers/PortalKnights
Postal 2 lancommander/postal2 Servers/Postal2
Project Zomboid lancommander/projectzomboid Servers/ProjectZomboid
Quake lancommander/quake Servers/Quake
Quake II lancommander/quake2 Servers/Quake2
Quake 3 lancommander/quake3 Servers/Quake3
Tom Clancy's Rainbow Six 3: Raven Shield lancommander/ravenshield Servers/RavenShield
Realm Wars lancommander/realmwars Servers/RealmWars
Red Faction lancommander/redfaction Servers/RedFaction
Return to Castle Wolfenstein lancommander/rtcw Servers/RTCW
Rune lancommander/rune Servers/Rune
Serious Sam: The First Encounter lancommander/serioussamthefirstencounter Servers/SeriousSamTheFirstEncounter
Shogo: Mobile Armor Division lancommander/shogo Servers/Shogo
Soldat lancommander/soldat Servers/Soldat
Star Wars: Battlefront lancommander/starwarsbattlefront Servers/StarWarsBattlefront
Star Wars: Battlefront II lancommander/starwarsbattlefront2 Servers/StarWarsBattlefront2
Star Wars: Republic Commando lancommander/starwarsrepubliccommando Servers/StarWarsRepublicCommando
Thievery lancommander/thievery Servers/Thievery
Tremulous lancommander/tremulous Servers/Tremulous
Starsiege: Tribes lancommander/tribes Servers/Tribes
Tribes 2 lancommander/tribes2 Servers/Tribes2
Tribes: Vengeance lancommander/tribesvengeance Servers/TribesVengeance
Tron 2.0 lancommander/tron2 Servers/Tron2
Unreal Tournament 2004 lancommander/ut2004 Servers/UT2004
Vietcong lancommander/vietcong Servers/Vietcong
Wolfenstein lancommander/wolfenstein2009 Servers/Wolfenstein2009
XIII lancommander/xiii Servers/XIII
Zandronum lancommander/zandronum Servers/Zandronum

License

MIT. See LICENSE.

About

A collection of Docker images for various game servers, maintained by the team behind LANCommander

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages