mastercomfig / tf2-patches

Team Fortress 2, but with a lot of fixes, QoL improvements and performance optimizations!
Other
221 stars 27 forks source link

add docker-compose support #632

Closed getchoo closed 1 year ago

getchoo commented 1 year ago

this is dependent on #629

Related Issue

n/a

Implementation

this allows for easy (re)builds on any system supporting docker/podman with two commands:

podman-compose up # initial build
podman start -a tf2-patches-build # subsequent builds

Screenshots

n/a

Checklist

Testing Checklist

Client Server Version
Windows n/a n/a n/a
Linux Built/Tested Built 6.1.11-200.fc37.x86_64
Mac OS n/a n/a n/a

Caveats

the debug symbols are changed to the root of the container (/build), not the root of the current working directory. this can be a little confusing but i don't find it to be that big of an issue considering the rest of the file structure is still conveyed.

Alternatives

downloading the sdk and running schroot could be a good alternative to some and of course it still is, but this makes development much more streamlined and hassle-free. it also follows valve's current guidelines on how to build native linux games.