Re: Building in docker?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

/M

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

In a hierarchy, every employee tends to rise to his level of incompetence.
     -- The Peter Principle

Attachment: pgpJeOUao_eTp.pgp
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux