Last active
March 14, 2017 13:57
-
-
Save camelpunch/4eabb8a283a939208e83c949f17393d5 to your computer and use it in GitHub Desktop.
Cross-compile Haskell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:jessie | |
RUN apt-get update && apt-get install -yy \ | |
curl \ | |
build-essential | |
RUN curl -sSL https://get.haskellstack.org/ | sh | |
RUN stack setup | |
COPY ./ project | |
ENV LC_ALL=C.UTF-8 | |
RUN cd project && stack install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run myimagename cat /root/.local/bin/mything > linux-mything |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment