Skip to content

Haskell Dockerfile parser, pretty-printer and EDSL

License

Notifications You must be signed in to change notification settings

thnee/hadolint-language-docker

 
 

Repository files navigation

Build Status Hackage GPL-3 licensed

haskell-language-docker

Dockerfile parser, pretty-printer and embedded DSL

Provides de ability to parse docker files, a pretty-printer and EDSL for writting Dockerfiles in Haskell.

Parsing files

import Language.Docker
main = do
    ef <- parseFile "./Dockerfile"
    print ef

Parsing strings

import Language.Docker
main = do
    c <- readFile "./Dockerfile"
    print (parseString c)

Create Dockerfiles

Use the dockerfile-creator package

About

Haskell Dockerfile parser, pretty-printer and EDSL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 95.8%
  • Shell 3.8%
  • Makefile 0.4%