On Thu, Sep 04, 2014 at 09:11:17PM +0200, Vincent Ambo wrote:
I have a very simple container that I use for building Arch packages, just added it to the Docker Hub so others can use it: https://registry.hub.docker.com/u/tazjin/arch-pkgbuild/
It's basically an Arch container that gets updated at image create time and has base-devel installed. When running the container it automatically executes makepkg from /build.
To try enter a folder with a PKGBUILD and just run
docker run --rm -v $(pwd):/build tazjin/arch-pkgbuild
and it'll install the dependencies in the container and build the package. Note that because of the minimal system the build dependencies need to be correct.
The mirrorlist in the container is using servers in Sweden, you could replace it though if you wanted.
Very nice. I can definitely use it as a base for my building. One thing though, I can't seem to find any pre-built 32-bit image though.