Docker image with Haskell compiler [GHC] focused on minimal possible size on disk (~955MB)
5.9K
This image is based on Alpine Linux image, which is only a 5MB image, and contains Haskell compiler (ghc package).
Download size of this image is:
$ echo -e 'module Main where\nmain = putStrLn "Hello, World!"' > qq.hs
$ docker run --rm -v "$(pwd):/tmp" frolvlad/alpine-ghc ghc -O2 -static -optl-static /tmp/qq.hs -o /tmp/qq
Once you have run these commands you will have qq executable in your current directory and if you
execute it, you will get printed 'Hello, World!'
Content type
Image
Digest
sha256:f2a499e9b…
Size
335.8 MB
Last updated
over 1 year ago
docker pull frolvlad/alpine-ghc