Docker
現在最も好感触なのはこれ。妙なタイミングでリビルドや無関係な処理が走ったりしにくく、安心して使える
https://github.com/phadej/docker-haskell-example
TBD: RUN --mount
雑多なリンク
https://github.com/haskell/docker-haskell/blob/aa517c24c51bbd54da5805517acd12120a9340ab/8.8/Dockerfile
stackのimage作成機能は廃止され、Multi-stage buildが推奨されている
https://www.fpcomplete.com/blog/2017/12/building-haskell-apps-with-docker
最小限のランタイム
https://gist.github.com/TimWSpence/269ab6943fbbaaf4b66374364f0051cd#file-stackmultistagedockerfile-L26