Ubuntu 32 bits docker container for building with stack
851
In your project directory:
docker run -it --rm -v $(pwd):/source stevechavez/ubuntui386-stack <stack_command>
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
Content type
Image
Digest
Size
205.7 MB
Last updated
about 9 years ago
docker pull stevechavez/ubuntui386-stack