https://github.com/fooock/csgo-dockerfile
Dockerfile to create a CSGO server
https://github.com/fooock/csgo-dockerfile
dedicated-gameservers docker docker-image game games
Last synced: 3 months ago
JSON representation
Dockerfile to create a CSGO server
- Host: GitHub
- URL: https://github.com/fooock/csgo-dockerfile
- Owner: fooock
- License: agpl-3.0
- Created: 2018-03-29T23:42:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-29T23:43:16.000Z (almost 8 years ago)
- Last Synced: 2025-04-05T23:33:29.107Z (9 months ago)
- Topics: dedicated-gameservers, docker, docker-image, game, games
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CS:GO on Docker
This Dockerfile creates the CSGO server. The base image is the [SteamCMD](https://github.com/fooock/steamcmd)
> Important! If you build this image be patient, because the total size is around 16GB
## Build
To create the image just run
```bash
docker build -t csgo --build-arg key=$CSGO_KEY .
```
> **Warning:** It is not recommended to use build-time variables for passing secrets like github keys, user credentials etc. Build-time variable values are visible to any user of the image with the docker history command.
This process can take a while. When the process is finished, check your images
```bash
docker images
```
If all is ok, then we can see it
```
REPOSITORY TAG IMAGE ID CREATED SIZE
csgoserver latest b3ec8c1ed67e 7 months ago 16.2GB
steamcmd latest b012efacb4f6 7 months ago 294MB
```