niclaslindstedt / nquakesv-docker

QuakeWorld server package
GNU General Public License v2.0
5 stars 13 forks source link

Fetch pre-compiled binaries #7

Open nvtkaszpir opened 3 years ago

nvtkaszpir commented 3 years ago

Right now I see Dockerfile fetches mvdsv and ktx and builds them from source. This is quite time consuming, though, and generates different binaries per git source ref.

Also I see that there is already option to fetch already built binaries from for example https://builds.quakeworld.nu/mvdsv/releases/

@niclaslindstedt are you open for accepting PR to allow fetching binaries with given release version for mvdvs/ktx?

niclaslindstedt commented 3 years ago

I agree. That's a problem.

I will accept such a PR.

cu commented 1 year ago

I'd suggest that building from source is the most sane way to do this, if you want to stay current with the upstream projects. The resulting binaries are dynamically linked, which means they are tied--at least loosely--to the OS they were built on. mvdsv gets away with distributing generic Linux binaries in their Github releases, probably because all of their dependencies are mature with a very stable API. But I'm sure with a little effort, one could find a modern Linux distro that they don't run on.

One alternate way to avoid the build steps is to install the major components from OS packages, something I'm exploring on Debian bookworm.