Skip to content

hadolint/language-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

df1fe26 · Mar 5, 2025
Apr 24, 2024
Jan 30, 2024
Mar 5, 2025
Mar 5, 2025
Aug 5, 2016
Mar 5, 2025
Mar 5, 2025
Nov 18, 2017
Jun 1, 2020
Aug 6, 2016
Dec 16, 2017
Jun 1, 2020
Aug 9, 2016
Mar 5, 2025
Mar 5, 2025
Mar 5, 2025
Mar 5, 2025

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