Skip to content

Instantly share code, notes, and snippets.

@jareware
Created September 28, 2014 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jareware/7b19117ae23b04c1d4a9 to your computer and use it in GitHub Desktop.
Save jareware/7b19117ae23b04c1d4a9 to your computer and use it in GitHub Desktop.
Portable Docker work-environment for https://github.com/opqdonut/haskell-exercises
FROM ubuntu:latest
# Install Haskell Platform
RUN apt-get update && \
apt-get install -y make haskell-platform
# Install Haskell dependencies
RUN cabal update && cabal install quickcheck
# Place us in the host-mounted working directory
WORKDIR /haskell-exercises
# $ docker build -t haskell-intro .
# $ docker run --rm -it -v $(pwd):/haskell-exercises haskell-intro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment