Commit Graph

10 Commits

Author SHA1 Message Date
Mads Kiilerich
e41b8f78e4 buildrpm: fix use of invalid $PLATFORM in mercurial.repo 2014-11-01 20:00:00 +01:00
Mads Kiilerich
0cfacaa1bd dockerrpm: create a yum/dnf repo from the generated rpms
This gives "PPA" functionality where users easily can stay uptodate with latest
nightly build.
2014-08-31 13:41:09 +02:00
Mads Kiilerich
eff8053e22 docker: add CentOS 5
There is no official CentOS 5 docker template so we use one from saltstack.
2014-05-15 01:48:37 +02:00
Mads Kiilerich
13ebf84a6d dockerrpm: prepare source outside docker and just run rpmbuild inside docker
Simplifies the rpm build process.

We will use platform specific rpmbuild directories and will not clean them and
will drop the explicit copy to build directory.
2014-05-30 14:14:33 +02:00
Mads Kiilerich
111ff86a5d dockerrpm: run docker build process as the current user, not as root
Docker can be run by ordinary users if they are in the docker group. The build
process would however be run as a root user, only protected by the sandboxing.
That caused problems with the shared directory where rpmbuild would be picky
about building from sources owned by less privileged users and producing files
owned by root.

Instead, add a build user with the right uid/gid to the image and run the
docker process as that user.
2014-05-30 14:14:33 +02:00
Mads Kiilerich
907b2db860 dockerrpm: better handling of specification of docker name 2014-05-30 14:14:33 +02:00
Mads Kiilerich
269cde03e7 dockerrpm: check that docker is running correctly before building 2014-05-30 14:14:33 +02:00
Matt Mackall
1a7f325519 docker: check for docker.io first 2014-05-29 16:01:39 -07:00
Matt Mackall
362480f7d9 docker: update package target to packages/ 2014-05-27 12:09:34 -07:00
Matt Mackall
dc3027aa51 build: initial support for in-tree autobuilding recipes 2014-05-07 17:58:13 -05:00