dwurf / docker-kf2

Dockerfile for running a Killing Floor 2 server under Linux
MIT License
34 stars 25 forks source link

Fix libraries #14

Closed danielmeijer closed 3 years ago

danielmeijer commented 4 years ago

Hi!

I've found some issues deploying this docker image. The issue that i'm having is that the KF2 binary requires some SSL libraries that's currently not installed inside the image.

In order to fix those errors, I've made a Dockerfile on top of your image with this content:

...
RUN apt-get purge --auto-remove openssl -y && apt-get install libcurl4-openssl-dev  libssl1.0.0 libssl-dev openssl -y
RUN ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libssl.so.1.1
RUN ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.1
...

With those changes I've got the server running perfectly fine, even with a lot of players and no crashes in the last 24h (since I've running the server).

I've adapted those changes to your Dockerfile (see diff).

Thanks for the image and keep killing zeds! 🧟

jimbo8098 commented 4 years ago

I just updated the Ubuntu image and added the missing curl pack to get the same end :stuck_out_tongue_winking_eye:

Xenial old as time anyway at this point. Mid 2016 according to https://wiki.ubuntu.com/Releases

15

dwurf commented 3 years ago

Thank you for the fix, and apologies for missing this PR :) I took #15 instead which solves the same problem.