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
- = From BaseImage
- | Add Source Destination
- | User String
- | Label Pairs
- | Stopsignal String
- | Copy Source Destination
- | Run Arguments
- | Cmd Arguments
- | Shell Arguments
- | Workdir Directory
- | Expose Ports
- | Volume String
- | Entrypoint Arguments
- | Maintainer String
- | Env Pairs
- | Arg String
- | Healthcheck String
- | Comment String
- | OnBuild Instruction
- | EOL
- 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 #