Sign inSign up

phlummox/alpine-haskell-stack

By phlummox

Updated about 6 years ago

for doing builds of static Haskell executables using Stack, linked against musl.

Image
0

506

phlummox/alpine-haskell-stack repository overview

Dockerfile for doing builds of static Haskell executables using Haskell Stack, linked against musl.

source

Probably built from https://github.com/phlummox/docker-alpine-haskell-stack. I think.

Usage

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'

Tag summary

Content type

Image

Digest

Size

238.5 MB

Last updated

about 6 years ago

docker pull phlummox/alpine-haskell-stack