Sign inSign up

stevechavez/ubuntui386-stack

By stevechavez

Updated about 9 years ago

Ubuntu 32 bits docker container for building with stack

Image
0

851

stevechavez/ubuntui386-stack repository overview

ubuntui386-stack

Usage:

In your project directory:

docker run -it --rm -v $(pwd):/source stevechavez/ubuntui386-stack <stack_command>

For building and obtaining a binary:

docker run -it --rm -v $(pwd):/source -v /tmp/bin:/root/.local/bin/ \
           stevechavez/ubuntui386-stack build --copy-bins --install-ghc
# -v /source/.stack-work can be added to ignore the host .stack-work
# -v $HOME/.stack:/root/.stack can be added to cache dependencies on the host
# After this the binary will be in /tmp/bin

Tag summary

Content type

Image

Digest

Size

205.7 MB

Last updated

about 9 years ago

docker pull stevechavez/ubuntui386-stack