Yuji Yamamoto (山本悠滋)
2016-09-17 Haskell Day 2016
( ̄^ ̄) Professional Haskeller.
HaskellJP wiki:
do
notation and the associative law most
clearly!With Stack’s Docker integration,
stack
command as
usual.How does GHC make Haskell code run?
stack build
as usual.docker
command.docker
option to stack.yaml
yaml docker: enable: true
stack
build
/install
/setup
as
usual.※Changes by the configurations.
~/.stack
by mounting.
stack
command runs in the container.ENTRYPOINT
!Edit stack.yaml
Requirement for Orignal Images:
Requirement for Orignal Images:
May also need build-time-arguments…
ENTRYPOINT
!ENTRYPOINT
internally!stack
build
/exec
/…scp
the executable to our server!
stack install scp ~/.local/bin/executable server@example.com:/
(o˘◡˘o) My impression
Stack’s Docker integration enables:
stack
command as
usual. (^-^)