Skip to content

Docker image with Haskell compiler [GHC] focused on minimal possible size on disk (~955MB)

License

Notifications You must be signed in to change notification settings

Docker-Hub-frolvlad/docker-alpine-ghc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Stars Docker Pulls

Haskell (ghc) Docker image

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:

Usage Example

$ 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!'

About

Docker image with Haskell compiler [GHC] focused on minimal possible size on disk (~955MB)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published