Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- type Image = String
- type Tag = String
- data Ports
- type Directory = String
- data BaseImage
- type Dockerfile = [InstructionPos]
- type Source = String
- type Destination = String
- type Arguments = [String]
- type Pairs = [(String, String)]
- data Instruction
- type Filename = String
- type Linenumber = Int
- data InstructionPos = InstructionPos Instruction Filename Linenumber
- instruction :: InstructionPos -> Instruction
- sourcename :: InstructionPos -> Filename
Documentation
type Dockerfile = [InstructionPos] Source #
Type of the Dockerfile AST
type Destination = String Source #
data Instruction Source #
All commands available in Dockerfiles
type Linenumber = Int Source #
data InstructionPos Source #
Instruction
with additional location information required for creating
good check messages
sourcename :: InstructionPos -> Filename Source #