Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Language.Dockerfile.Syntax
- 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
Constructors
UntaggedImage Image | |
TaggedImage Image Tag | |
DigestedImage Image ByteString |
type Dockerfile = [InstructionPos] Source
Type of the Dockerfile AST
type Destination = String Source
data Instruction Source
All commands available in Dockerfiles
Constructors
Instances
type Linenumber = Int Source
data InstructionPos Source
Instruction
with additional location information required for creating
good check messages
Constructors
InstructionPos Instruction Filename Linenumber |