Dockerfile parser, pretty-printer and embedded DSL
Provides de ability to parse docker files, a pretty-printer and EDSL for writting Dockerfiles in Haskell.
import Language.Docker
main = do
ef <- parseFile "./Dockerfile"
print ef
import Language.Docker
main = do
c <- readFile "./Dockerfile"
print (parseString c)
Use the dockerfile-creator package