Hi!
Nim now has a home on Docker hub: https://hub.docker.com/r/nimlang/nim/. There are images for all versions available as .tar.xz archives on nim-lang.org. Adding earlier versions should not be a problem, I just didn't do it yet. Nimble is included in images 0.13.0 and higher, because it is the minimal required version. If there's a way to install Nimble on earlier versions, it's no problem building an image for it. @dom96 is welcome to contribute on this one.
It's not official in Docker terms (i.e. doesn't belong to "_" namespace), but it can be official in general sense, meaning it's endorsed by the language authorities. Do make it so, I need the permission to move the Dockerfile repo https://github.com/moigagoo/nimage/ to nim-lang.
Having a curated, official repo on Docker Hub is important because it lets people dive into Nim development quickly. If @Araq and the community approve, I think we should post a link to this repo on the official website.
A quick note about namespace. I couldn't use "nim" or "nim-lang." Apparently, "nim" is too short and dashes are not allowed, however Docker Hub didn't explain why these namespaces were unavailable.
Feel free to contribute! Email me on moigagoo@live.com, and I'll add you to the repo.
Thanks!
Good work! I just tried it some minutes ago with the new Docker client on Mac and it works pretty well and is very easy nowadays.
BTW: For beginners which just try it out you may add how to access devel or other versions in your compilation example. I just saw that you have this info on the Nim website but not on the docker page.
Feel free to report issues to the repo: https://github.com/moigagoo/nimage/
Here's the one regarding Alpine: https://github.com/moigagoo/nimage/issues/2
Sorry for the misinformation. Debian images are currently unavailable, there are only Ubuntu and Alpine. I can't see any strong reason to have Debian-based images at this point.
Recenty, I've fixed a critical issue with onbuild images for version 0.16.0 and newer, so those should work fine now.