Skip to content

Instantly share code, notes, and snippets.

@glguy
Created May 15, 2019 03:42
Show Gist options
  • Save glguy/b9da02f5483084d2aeefaf7af807dc26 to your computer and use it in GitHub Desktop.
Save glguy/b9da02f5483084d2aeefaf7af807dc26 to your computer and use it in GitHub Desktop.
Docker build for glirc
FROM haskell:8.6
RUN apt-get update && apt-get install -y libssl-dev
RUN cabal v2-update
WORKDIR /opt/glirc
ADD dist-newstyle/sdist/glirc-2.31.tar.gz ./
RUN cd glirc-2.31 && cabal v2-build --only-dependencies
RUN cd glirc-2.31 && cabal v2-build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment