haskell-scratch Base Docker image which includes minimal shared libraries for GHC-compiled executables Modifications to the original project : This project works with Archlinux path style. libffi was required and added.