This is a docker image that was made for UIUC's CS421 course on Programming Languages.
Essentially, I got tired of dealing with
cabal shenanigans mucking up my system's Haskell setup.
On OS X and Windows you'll want to install the Docker Toolbox, which will install the
docker-machine to manage virtual machines, and
virtualbox to run those VMs.
On a Linux distro like Arch Linux, you'll first need to follow your distro's instructions on installing
For CS421, you are given access to a GitLab repo that contains all your CS421 programming homework.
Assuming you've cloned that repo locally at
~/src/cs421-assignments, you'll want to
cd into that directory:
Then run the following to invoke
docker run -v $(pwd):/src/cs421 --rm -it cdrnyx/uiuc-cs421-docker-haskell
-v maps a path on the host machine to
/src/cs421 which lives inside the container.
--rm is a flag to tell docker to destroy the container when exiting.
-it invokes an interactive tty.