
Hi fellow Haskellers, since I was missing a Dockerimage for GHC built with musl and integer-simple for static linking, which is kept up to date, I created my own. I use it to test compatibility with different GHC versions and provide a full statically linked binary for download with GitLab CI/CD. Maybe someone will find it useful, too. Or maybe there already is another more sophisticated project someone can point me to. https://registry.hub.docker.com/r/neosimsim/ghc

Hey! Thanks! I think this may also be relevant to you - https://github.com/utdemir/ghc-musl ======= Georgi

Indeed. I just added it to utdemir/ghc-musl's README. I think building it as a regular Docker image on top of Alpine has some advantages over mine. In paticular, the user can easily use it as a base image and extend it with more libraries from Alpine's repository. Nix-based Docker image lacks this ability since it requires rebuilding the whole image on any change. Currently I just embed commonly used libraries with the images, but it is not a great solution. If your project survives and keeps working reliably (it's a hard job maintaining different GHC versions), I will consider deprecating utdemir/ghc-musl :). Thanks! Utku On Sat, Apr 18, 2020, at 4:10 AM, Georgi Lyubenov wrote:
Hey!
Thanks! I think this may also be relevant to you - https://github.com/utdemir/ghc-musl
======= Georgi _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.

On Sat, Apr 18, 2020 at 07:36:56PM +1200, Utku Demir wrote:
Indeed. I just added it to utdemir/ghc-musl's README.
On Sat, Apr 18, 2020, at 4:10 AM, Georgi Lyubenov wrote:
Hey!
Thanks! I think this may also be relevant to you - https://github.com/utdemir/ghc-musl
Thanks for the feedback and the link. It is very much appreciated.
If your project survives and keeps working reliably (it's a hard job maintaining different GHC versions), I will consider deprecating utdemir/ghc-musl :).
I'll do my very best. And yes, It was harder that I thought in the beginning. That's why I replaced the parameterized Dockerfile with a Dockerfile for each GHC version. Also I haven't got GHC 8.2.2 and GHC 8.4.2 working because of some issues with Cabal 2.0.*. Maybe I'll pack them with Cabal 2.4. Thanks and cheers, Alex
participants (3)
-
Alexander Ben Nasrallah
-
Georgi Lyubenov
-
Utku Demir