| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Language.Docker.Syntax
- data Image = Image {}
- newtype Registry = Registry String
- type Tag = String
- data Protocol
- data Port
- newtype Ports = Ports {}
- type Directory = String
- newtype ImageAlias = ImageAlias {}
- data BaseImage
- type Dockerfile = [InstructionPos]
- newtype SourcePath = SourcePath {}
- newtype TargetPath = TargetPath {}
- data Chown
- data CopySource
- newtype Duration = Duration {}
- newtype Retries = Retries {}
- data CopyArgs = CopyArgs {}
- data AddArgs = AddArgs {}
- data Check
- newtype Arguments = Arguments [String]
- data CheckArgs = CheckArgs {}
- type Pairs = [(String, String)]
- data Instruction- = From BaseImage
- | Add AddArgs
- | User String
- | Label Pairs
- | Stopsignal String
- | Copy CopyArgs
- | Run Arguments
- | Cmd Arguments
- | Shell Arguments
- | Workdir Directory
- | Expose Ports
- | Volume String
- | Entrypoint Arguments
- | Maintainer String
- | Env Pairs
- | Arg String (Maybe String)
- | Healthcheck Check
- | Comment String
- | OnBuild Instruction
 
- type Filename = String
- type Linenumber = Int
- data InstructionPos = InstructionPos {}
Documentation
Constructors
| UntaggedImage Image (Maybe ImageAlias) | |
| TaggedImage Image Tag (Maybe ImageAlias) | |
| DigestedImage Image ByteString (Maybe ImageAlias) | 
type Dockerfile = [InstructionPos] Source #
Type of the Dockerfile AST
Constructors
| Duration | |
| Fields | |
Constructors
| CopyArgs | |
| Fields | |
Constructors
| AddArgs | |
| Fields | |
Constructors
| CheckArgs | |
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 | |
| Fields | |
Instances