Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module builds Docker (OpenContainer) images.
- stageContainerImageArtifacts :: (StackM env m, HasEnvConfig env) => Maybe (Path Abs Dir) -> [Text] -> m ()
- createContainerImageFromStage :: (StackM env m, HasConfig env) => Maybe (Path Abs Dir) -> [Text] -> m ()
- imgCmdName :: String
- imgDockerCmdName :: String
- imgOptsFromMonoid :: ImageOptsMonoid -> ImageOpts
Documentation
stageContainerImageArtifacts :: (StackM env m, HasEnvConfig env) => Maybe (Path Abs Dir) -> [Text] -> m () Source
Stages the executables & additional content in a staging directory under '.stack-work'
createContainerImageFromStage :: (StackM env m, HasConfig env) => Maybe (Path Abs Dir) -> [Text] -> m () Source
Builds a Docker (OpenContainer) image extending the base
image
specified in the project's stack.yaml. Then new image will be
extended with an ENTRYPOINT specified for each entrypoint
listed
in the config file.
The command name for dealing with images.
imgDockerCmdName :: String Source
The command name for building a docker container.
imgOptsFromMonoid :: ImageOptsMonoid -> ImageOpts Source
Convert image opts monoid to image options.