Safe Haskell | None |
---|---|
Language | Haskell2010 |
Stack.Image
Description
This module builds Docker (OpenContainer) images.
Synopsis
- stageContainerImageArtifacts :: HasEnvConfig env => Maybe (Path Abs Dir) -> [Text] -> RIO env ()
- createContainerImageFromStage :: HasConfig env => Maybe (Path Abs Dir) -> [Text] -> RIO env ()
- imgCmdName :: String
- imgDockerCmdName :: String
- imgOptsFromMonoid :: ImageOptsMonoid -> ImageOpts
Documentation
stageContainerImageArtifacts :: HasEnvConfig env => Maybe (Path Abs Dir) -> [Text] -> RIO env () #
Stages the executables & additional content in a staging directory under '.stack-work'
createContainerImageFromStage :: HasConfig env => Maybe (Path Abs Dir) -> [Text] -> RIO env () #
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.
imgCmdName :: String #
The command name for dealing with images.
The command name for building a docker container.
imgOptsFromMonoid :: ImageOptsMonoid -> ImageOpts #
Convert image opts monoid to image options.