Centos 6 docker container for building with stack
10K+
Centos 6 image with postgresql 9.3 client libs for stack builds.
In your project directory:
docker run -it --rm -v $(pwd):/source stevechavez/centos6-stack <stack_command>
docker run -it --rm -v $(pwd):/source -v /tmp/bin:/root/.local/bin/ \
stevechavez/centos6-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
Content type
Image
Digest
Size
213.9 MB
Last updated
about 9 years ago
docker pull stevechavez/centos6-stack