The correct way to build a static binary in haskell (for GHC8).
1.0K
Simple base image based on: https://vadosware.io/post/static-binaries-for-haskell-a-convoluted-approach/ https://www.reddit.com/r/haskell/comments/5lk33p/struggling_building_a_static_binary_for_aws/
ld-options: -static to your cabal file.stack clean; stack install --split-objs --ghc-options="-fPIC" (Using stack, defalut binary path is $HOME/.local/bin).Content type
Image
Digest
Size
276.9 MB
Last updated
almost 9 years ago
docker pull nnwww/haskell-stack-link