Safe Haskell | None |
---|---|
Language | Haskell2010 |
- edockerfile :: QuasiQuoter
- edockerfileE :: String -> ExpQ
- dockerfile :: QuasiQuoter
- dockerfileE :: String -> ExpQ
- filterEOL :: [InstructionPos] -> [InstructionPos]
Documentation
edockerfile :: QuasiQuoter Source
Quasiquoter for embedding dockerfiles on the EDSL
putStr $ toDockerfile
$ do
from "node"
run "apt-get update"
[edockerfile|
RUN apt-get update
CMD node something.js
|]
edockerfileE :: String -> ExpQ Source
dockerfileE :: String -> ExpQ Source
filterEOL :: [InstructionPos] -> [InstructionPos] Source