-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Dockerfile #65
base: master
Are you sure you want to change the base?
Add Dockerfile #65
Conversation
I have been a user of MLDonkey for many years, for me it is the best ED2k network client for linux and especially for microserver. I have the problem now in the most recent Ubuntu or Debian distros, which is no longer in the repositories and it is foreseeable that it will not be there again. An AppImage or similar version would be possible, since Docker is totally unknown to me and not I find hardly any info on it. |
@nagius Dockerfile fails to compile with the default ubuntu (
To avoid the trouble to anyone attempting to buid the container and until the master is fixed may be a good idea to pin the builder version to @DioxCorp you better open a separate issue with a feature request, but I wouldn't hold my breath. |
Builds an appimage with mlnet+gui executable. ygrek#65 (comment) git clone https://github.com/ygrek/mldonkey.git cd mldonkey ./configure --enable-batch --disable-directconnect --disable-fasttrack --disable-gnutella --disable-gnutella2 --enable-gui=newgui2 --prefix=/usr make wget https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage appimage-builder-1.0.3-x86_64.AppImage To run the optional appimage-builder tests you need docker installed and permissions.
With ubuntu 24.04 fails in
With ubuntu 22.04 build fails with:
With ubuntu 20.04 builds but I get this error in runtime:
Maybe because I have old data. After some research I'm using the image Anyway, the distributions where mldonkey can be compiled are or will be out of support in some months. IMHO mldonkey-server is an essential piece of software but I don't have knowledge neither time to port it to a modern distribution. :-/ Do you plan to port mldonkey-server to make work in last debian or ubuntu versions? |
https://github.com/carlonluca/docker-mldonkey is built on trixie, which is not even released yet. |
Thank you!!! Works like a charm. :-) |
I have no experience with docker, in order to make sure this works please add github action workflow to build it |
28754fe
to
05908f6
Compare
This PR add the files needed to run MLDonkey with Docker using Ubuntu base image.
The Dockerfile is a multi-stage build that will compile the latest version of MLDonkey for the user's architecture, but will not bring development tools in the runtime image.
And example of usage is provided with the
docker-compose.yml
file.Note: This PR require #64 to be merged to run with docker-compose properly.