for doing builds of static Haskell executables using Stack, linked against musl.
506
Dockerfile for doing builds of static Haskell executables using Haskell Stack, linked against musl.
Probably built from https://github.com/phlummox/docker-alpine-haskell-stack. I think.
make build will do a build of the docker image
make run will run it with docker run.
Building a static executable will then involve something like:
$ stack --skip-ghc-check --system-ghc --resolver=lts-13 build --ghc-options '-fPIC -optl -static'
Content type
Image
Digest
Size
238.5 MB
Last updated
about 6 years ago
docker pull phlummox/alpine-haskell-stack