summaryrefslogtreecommitdiff
path: root/docker_builds/docker_ghcup/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docker_builds/docker_ghcup/README.md')
-rw-r--r--docker_builds/docker_ghcup/README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/docker_builds/docker_ghcup/README.md b/docker_builds/docker_ghcup/README.md
new file mode 100644
index 0000000..74acc0c
--- /dev/null
+++ b/docker_builds/docker_ghcup/README.md
@@ -0,0 +1,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