| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
TestContainers.Image
Collection of pre-defined Docker images
Building and managing images
Handle to a Docker image.
Since: 0.1.0.0
build :: ToImage -> TestContainer ToImage Source #
Build the Image referred to by the argument. If the construction of the
image is expensive (e.g. a call to fromBuildContext) we don't want to
repeatedly build the image. Instead, build can be used to execute the
underlying Docker build once and re-use the resulting Image.
Since: 0.1.0.0
fromImageId :: Text -> ToImage Source #
Get an Image from an image id. This doesn't run docker pull or any other Docker command
on construction.
Since: 0.5.1.0