blob: 74acc0ca151d976944ec66a8fa8be6fd1b3fa0da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# GHC and Cabal via ghcup
Fresh Haskell developer environment bootstrapped from scratch via ghcup.
This image is based on debian:buster
Happy Haskelling!
## Building
By default the best known GHC version is used but you can override it:
sudo docker build --tag miguel/ghcup:8.6.5 --build-arg GHC_VERSION=8.6.5 .
sudo docker build --tag miguel/ghcup:8.6 --build-arg GHC_VERSION=8.6 .
the default user is `haskeller` but you can override it via the USER build argument
## Using
You can use this image as a base for your projects or standalone:
sudo docker run -it --entrypoint bash miguel/ghcup:8.6
## Prebuilt Images and Sources
Some prebuild images might be found on: https://cloud.docker.com/repository/docker/migueldirty/ghcup
Dockerfile is hosted here: https://github.com/miguelclean/docker_ghcup
|