Skip to content

Instantly share code, notes, and snippets.

@jmaicher
Created June 1, 2016 18:09
Show Gist options
  • Save jmaicher/6d8b0e692285e4fe4f68cade25cbf127 to your computer and use it in GitHub Desktop.
Save jmaicher/6d8b0e692285e4fe4f68cade25cbf127 to your computer and use it in GitHub Desktop.
FROM ubuntu:xenial-20160525
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 575159689BEFB442
RUN echo "deb http://download.fpcomplete.com/ubuntu xenial main"|tee /etc/apt/sources.list.d/fpco.list
RUN apt-get update
RUN apt-get install -y stack
RUN useradd -m -d /home/docker docker
USER docker
WORKDIR /home/docker
RUN stack new yesod-minimal yesod-minimal
WORKDIR /home/docker/yesod-minimal
RUN stack build --install-ghc
RUN stack install ghc-mod
@jmaicher
Copy link
Author

jmaicher commented Jun 1, 2016

ghc-mod: /home/docker/.stack/snapshots/x86_64-linux/lts-6.1/7.10.3/lib/x86_64-linux-ghc-7.10.3/cipher-aes-0.2.11-LCbQiUgBdfG1swKGFESvIB/libHScipher-aes-0.2.11-LCbQiUgBdfG1swKGFESvIB.a: unhandled ELF relocation(RelA) type 42

unable to load package `cipher-aes-0.2.11'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment