Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

This is modification of @sapphonie's srcds Dockerfiles which includes all files necessary for TF2C.

License

Notifications You must be signed in to change notification settings

Project-Unison/tf2classic-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TF2Classic Docker Container

Pterodactyl Panel docker source engine image, originally forked from their upstream, but cleaned up and converted to use debian-slim and less dependencies, saving ~300MB per server instance.

This is modification of @sapphonie's srcds Dockerfiles, with TF2 Classic compatibility.

Note: this container can run bash if no args are passed or if bash is passed in the startup options.

Difference with sapphonie's Dockerfiles

  • Compatible with latest Debian-slim releases.
  • Adds useful tools tmux and nano included by default.
  • Designed for Team Fortress 2 Classic support.

Requirements

  • Any Linux server distros
  • Docker

How to use

Due to trouble with Docker Desktop, we use GitHub Docker Packages for automated creation.

Use with Docker

As of Dec 15 2023, the core version is deprecated and will no longer receive any updates to focus more on TF2Classic.

With default ports

docker run -it --name tf2cserver --restart unless-stopped ghcr.io/project-unison/tf2classic-docker:latest

With additional ports

Ports can be anything, feel free to change port numbers next to -p arguments.

docker run -it --name tf2cserver -p 2701x:2701x -p 2702x:2702x/udp -p 2700x:2700x/udp --restart unless-stopped ghcr.io/project-unison/tf2classic-docker:latest

Note

  • This Docker scripts only prepares every dependencies to install TF2Classic Server, and does NOT automatically install server. Please refer to official installation guide for detailed instruction.

License

This project is licensed under MIT License.

About

This is modification of @sapphonie's srcds Dockerfiles which includes all files necessary for TF2C.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 81.6%
  • Shell 18.4%