Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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
newtype ImageAlias Source #
type Dockerfile = [InstructionPos] Source #
Type of the Dockerfile AST
newtype SourcePath Source #
newtype TargetPath Source #
data CopySource 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