Popularity
7.2
Growing
Activity
4.4
Declining
21
3
4

Monthly Downloads: 458
Programming language: Haskell
License: GNU General Public License v3.0 only
Tags: Language     Development    
Latest version: v9.1.1
Add another 'language' Package

README

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


*Note that all licence references and agreements mentioned in the language-docker README section above are relevant to that project's source code only.