[arch-general] Building in docker?

Magnus Therning magnus at therning.org
Fri Sep 5 17:35:01 EDT 2014

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.


Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

In a hierarchy, every employee tends to rise to his level of incompetence.
     -- The Peter Principle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20140905/ee265739/attachment.asc>

More information about the arch-general mailing list