{-# LANGUAGE OverloadedStrings #-}
module TestContainers.Image
  (
    -- * Collection of pre-defined Docker images
    redis

  , mongo

    -- * Building and managing images
  , module Docker

  ) where

import           TestContainers.Docker as Docker (Image, ToImage, build,
                                                  fromBuildContext,
                                                  fromDockerfile, fromTag)


-- | Image for Redis database.
--
-- @
-- redis = fromTag "redis:5.0"
-- @
--
-- @since 0.1.0.0
--
redis :: ToImage
redis :: ToImage
redis =
  ImageTag -> ToImage
fromTag ImageTag
"redis:5.0"


-- | Image for Mongo database.
--
-- @
-- mongo = Tag "mongo:4.0.17"
-- @
--
-- @since 0.1.0.0
--
mongo :: ToImage
mongo :: ToImage
mongo =
  ImageTag -> ToImage
fromTag ImageTag
"mongo:4.0.17"