Docker Image for GHC v8.0.1 and Cabal v1.24
✓ Published0🌍 Public
PP7h
Last edited Sep 18, 2016
Created on Aug 31, 2016
This example shows a Dockerfile that defines a containerized Haskell development environment, pinning GHC v8.0.1 and Cabal v1.24. It demonstrates the Dockerfile instructions `apt-get`, `add-apt-repository`, `ENV`, `WORKDIR`, and `USER` to install the compiler toolchain from the `hvr/ghc` PPA and set the `PATH` and home variables. The file uses the base image `ubuntu` and concludes with a `CMD` to launch an interactive Bash shell, showing a reproducible setup for Haskell tooling.
AI-generated description