GollyGang / ready

A cross-platform implementation of various reaction-diffusion systems and PDEs.
GNU General Public License v3.0
755 stars 60 forks source link

Added Dockerfile #150

Open dor2727 opened 3 years ago

dor2727 commented 3 years ago

Added a Dockerfile for linux.

currently not supporting openCL.

timhutton commented 3 years ago

Hi @dor2727. Thanks for contributing.

What's the advantage of having a docker file? What would we use it for?

dor2727 commented 3 years ago

It is a way to package code and dependencies for easy installation on Linux.

This way, any Linux user wishing to install Ready will run a single command, and the docker service will handle the rest.

timhutton commented 3 years ago

Well I'm happy to have it included, if people would find it useful. I'm guessing that it needs the OpenCL support though, which might be tricky to get right?

Can we name it something that indicates the range of distros it will work on? e.g.Dockerfile-Debian?

dor2727 commented 3 years ago

Having OpenCL support is indeed useful, though I couldn't make it work :(

dockerfile works on all distros. I ran this dockerfile on arch. Docker uses the kernel of the host computer, and can run any distro on top of that! :)