2014-04-02 22:40:26 +00:00
|
|
|
There is not yet a pre-built Docker image for git-annex. However, it's
|
|
|
|
easy to add it to an image.
|
|
|
|
|
|
|
|
For example:
|
|
|
|
|
|
|
|
docker run -i -t joeyh/debian-unstable apt-get install git-annex
|
|
|
|
|
2014-06-02 23:05:20 +00:00
|
|
|
# containers for autobuilders
|
2014-04-02 22:40:26 +00:00
|
|
|
|
2014-06-02 23:05:20 +00:00
|
|
|
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`
|
|
|
|
|
2014-12-03 20:47:56 +00:00
|
|
|
So's the armel autobuilder container.
|
|
|
|
`docker pull joeyh/git-annex-armel-builder`, and its companion container
|
2014-12-03 23:32:38 +00:00
|
|
|
`docker pull joeyh/git-annex-armel-companion`
|
2014-12-03 20:47:56 +00:00
|
|
|
|
2014-06-02 23:05:20 +00:00
|
|
|
# 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`:
|
2014-04-02 22:40:26 +00:00
|
|
|
|
|
|
|
[[!format haskell """
|
2014-06-02 23:05:20 +00:00
|
|
|
import qualified Propellor.Property.SiteSpecific.GitAnnexBuilder as GitAnnexBuilder
|
2014-04-02 22:40:26 +00:00
|
|
|
|
2014-12-03 18:58:32 +00:00
|
|
|
, host "your.machine.net"
|
2014-06-02 23:05:20 +00:00
|
|
|
& Docker.configured
|
2014-12-03 18:58:32 +00:00
|
|
|
& Docker.docked (GitAnnexBuilder.standardAutoBuilderContainer dockerImage "amd64" 15 "2h")
|
2014-04-02 22:40:26 +00:00
|
|
|
"""]]
|
|
|
|
|
|
|
|
This will autobuild every hour at :15, and the autobuilt image will be
|
|
|
|
left inside the container in /home/builder/gitbuilder/out/
|
2014-09-30 17:39:20 +00:00
|
|
|
|
|
|
|
# container for backport building
|
|
|
|
|
|
|
|
For building the Debian stable backport, the container
|
|
|
|
`joeyh/git-annex-wheezy-backport` is used. This is nothing special, it
|
|
|
|
just has the right versions of build dependencies installed from Debian
|
|
|
|
stable and backports.
|