path: root/config-simple.hs
diff options
authorAntoine Eiche2015-06-15 11:31:25 +0200
committerJoey Hess2015-06-16 14:48:59 -0400
commit46241b3a89e8fd612ca3af6a3dc6495df01dbfe6 (patch)
treea03641141405fed5f89f0ef1a88e9ff02f126445 /config-simple.hs
parentb5de5703a49e59db010518b89effdeba3b91a664 (diff)
Replace String type synonym Docker.Image by a data type which allows to specify an image name and an optional tag.
This also introduces the class ImageIdentifier which is internally used by some Docker methods.
Diffstat (limited to 'config-simple.hs')
1 files changed, 1 insertions, 1 deletions
diff --git a/config-simple.hs b/config-simple.hs
index 4f0fde8c..576ecc73 100644
--- a/config-simple.hs
+++ b/config-simple.hs
@@ -41,7 +41,7 @@ hosts =
-- A generic webserver in a Docker container.
webserverContainer :: Docker.Container
-webserverContainer = Docker.container "webserver" "debian"
+webserverContainer = Docker.container "webserver" (Docker.latestImage "debian")
& os (System (Debian (Stable "jessie")) "amd64")
& Apt.stdSourcesList
& Docker.publish "80:80"