[Haskell-cafe] Static executables in minimal Docker containers

Jeremy voldermort at hotmail.com
Mon Apr 13 16:54:20 UTC 2015


Greg Weber wrote
> Haskell is not that great at producing statically linked libraries
> independent of the OS.
> The issue you are running into would likely show up in another non-ubuntu
> image (or even possibly a different version of an ubuntu image), so you
> could probably use a Fedora image that has tracing.

You could try compiling on Debian and running it in
https://registry.hub.docker.com/u/accursoft/micro-jessie/. Much bigger than
busybox, but 33Mb may be small enough for you.

(Remember that the OS layer will be shared between multiple images - I don't
know if that helps for your scenario.)



--
View this message in context: http://haskell.1045720.n5.nabble.com/Static-executables-in-minimal-Docker-containers-tp5768703p5768730.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.


More information about the Haskell-Cafe mailing list