summaryrefslogtreecommitdiff
path: root/doc/install/Docker.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-06-02 19:05:20 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-06-02 19:05:20 -0400
commit7d47343a7eaac0dd4b86987b76fee3ebfbb065fd (patch)
treef1aae260f163d446edee7a2658c3ae2f65635319 /doc/install/Docker.mdwn
parentd990ee3c79a9fd21199728fe54cdcfa7dae11854 (diff)
update; android autobuolder container is now published
Diffstat (limited to 'doc/install/Docker.mdwn')
-rw-r--r--doc/install/Docker.mdwn29
1 files changed, 17 insertions, 12 deletions
diff --git a/doc/install/Docker.mdwn b/doc/install/Docker.mdwn
index 3e0171dde..f3d7c189e 100644
--- a/doc/install/Docker.mdwn
+++ b/doc/install/Docker.mdwn
@@ -5,22 +5,27 @@ For example:
docker run -i -t joeyh/debian-unstable apt-get install git-annex
-# autobuilders
+# containers for autobuilders
-The git-annex Linux autobuilds are built using a Docker container.
-If you'd like to set up your own autobuilder in a Docker container,
-the image that is used is not currently published, but you can build
-a new image using [Propellor](http://joeyh.name/code/propellor). Just
-install Propellor and add this to its `config.hs`:
+The git-annex Linux autobuilds are built using Docker containers.
+Most of these are not published, but you can build your own. (See below.)
+
+Since the Android autobuilder container can take quite a lot of work to get
+built, it is published. `docker pull joeyh/git-annex-android-builder`
+
+# building autobuilder containers using Propellor
+
+The Docker containers are built using
+[Propellor](http://joeyh.name/code/propellor). To generate your own image,
+Just install Propellor and add this to its `config.hs`:
[[!format haskell """
-host hostname@"your.machine.net" = Just $ props
- & Docker.configured
- & Docker.docked container hostname "amd64-git-annex-builder"
+import qualified Propellor.Property.SiteSpecific.GitAnnexBuilder as GitAnnexBuilder
-container _ "amd64-git-annex-builder" = in Just $ Docker.containerFrom
- (image $ System (Debian Unstable) "amd64")
- [ Docker.inside $ props & GitAnnexBuilder.builder "amd64" "15 * * * *" False ]
+ , host hostname@"your.machine.net" = Just $ props
+ & Docker.configured
+ & Docker.docked container hostname "amd64-git-annex-builder"
+ , GitAnnexBuilder.standardAutoBuilderContainer dockerImage "amd64" 15 "2h"
"""]]
This will autobuild every hour at :15, and the autobuilt image will be