You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 4, 2024. It is now read-only.
RUN tput setaf 2; echo "TF2C Docker Script 12 'Bookworm' by Roon - a modification of Pterodactyl Docker File by Pterodactyl Software and sapphonie"; echo "Upgrading base image..."; tput sgr0; \
14
-
apt-get update \
15
-
&& apt-get upgrade -y --no-install-recommends
15
+
RUN tput setaf 2; echo "TF2Classic-Docker 12.1 'Dark Cat' - A modification of pterodactyl's dockerfile by Roon. Originally created by Pterodactyl Software and sapphonie"; echo "Upgrading base image..."; tput sgr0; \
16
+
apt update \
17
+
&& apt upgrade -y --no-install-recommends
16
18
17
19
# from postgressql - set up en_US.UTF8 locale so srcds doesn't whine
**As of August 16, 2023, Podman support is dropped due to several issues that prevents me from using it and Docker is known to be widely used for production use. Podman should work as intended but NO support will be given regardless of the result. I advise you to use the Docker instead of podman. Thanks for understanding!**
3
1
4
-
# Source Engine Docker Container
2
+
# TF2Classic Docker Container
5
3
[Pterodactyl Panel](https://pterodactyl.io/) docker source engine image, originally forked from [their upstream](https://github.com/parkervcp/images/tree/ubuntu/source), but cleaned up and converted to use debian-slim and less dependencies, saving ~300MB per server instance.
6
4
7
-
This is modification of @sapphonie's srcds Dockerfiles, originally designed for TF2C compatibility but expanded with more features.
5
+
This is modification of @sapphonie's srcds Dockerfiles, with TF2 Classic compatibility.
8
6
9
7
Note: this container can run bash if no args are passed or if `bash` is passed in the startup options.
10
8
11
9
## Difference with sapphonie's Dockerfiles
12
-
* Supports most Source Engine servers. Source 2 support is planned in the future.
13
10
* Compatible with latest Debian-slim releases.
14
11
* Adds useful tools `tmux` and `nano` included by default.
@@ -21,21 +18,19 @@ Note: this container can run bash if no args are passed or if `bash` is passed i
21
18
## How to use
22
19
Due to trouble with Docker Desktop, we use [GitHub Docker Packages](https://github.com/features/packages) for automated creation.
23
20
21
+
### Use with Docker
22
+
As of Dec 15 2023, the core version is deprecated and will no longer receive any updates to focus more on TF2Classic.
23
+
24
24
To allow anyone to join your server, don't forget to expose your port (By default it is 27015 but can be changed) before creating the docker instances. Using the rcon is highly discouraged so only UDP ports are allowed, but if you are okay with rcon, remove `/udp` after the port to allow rcon access.
25
25
26
26
### Use with Docker
27
27
#### For most Source Engine servers
28
28
```
29
-
docker run -it --name srcdsserver -p 27015:27015/udp --restart unless-stopped ghcr.io/roonmoonlight/srcds-tf2c-debian:bookworm-core
30
-
```
31
-
32
-
#### For Team Fortress 2 Classic servers
33
-
```
34
-
docker run -it --name tf2cserver -p 27015:27015/udp --restart unless-stopped ghcr.io/roonmoonlight/srcds-tf2c-debian:bookworm
29
+
docker run -it --name tf2cserver --restart unless-stopped ghcr.io/roonmoonlight/srcds-tf2c-debian:latest
35
30
```
36
31
37
32
## Note
38
-
* This Docker scripts only prepares every dependencies to install any Source Games Server, and does NOT automatically install server. Please refer to each game's Documentations for installation. For easier alternatives, using LinuxGSM's [docker-gameserver](https://github.com/GameServerManagers/docker-gameserver) is highly recommended.
33
+
* This Docker scripts only prepares every dependencies to install TF2Classic Server, and does NOT automatically install server. Please refer to [official installation guide](https://wiki.tf2classic.com/wiki/Dedicated_Linux_server) for detailed instruction.
0 commit comments