Docker bootstrap image for xmvn-based development

Peter MacKinnon pmackinn at redhat.com
Tue Jan 14 18:02:53 UTC 2014


Hello friends,

I was looking for a way to quickly reuse a "cleanish" rawhide dev environment for some of the packaging work for Hive and Pig.
Basically something to validate the uncommon BuildRequires accurately. To that end, I've thrown together a docker Fedora
x86_64 image that is pre-populated with MikoĊ‚aj's latest xmvn which carries resolver support for Ivy based projects
(e.g., Hive and Pig).

I'm not suggesting that this is superior to local mock chroot workflows and potential caching techniques, just an interesting
alternative. xmvn plus maven-local currently have about 344 dependencies to install so it's nice to quickly get over that
initial hump as much as possible.

$ sudo yum install docker-io
$ docker pull pmackinn/xmvn-ivy-rawhide
$ docker run -i -t pmackinn/xmvn-ivy-rawhide /bin/bash

bash-4.2# uname -a && rpm -q xmvn maven-local && java -version
Linux e0ea9047b430 3.12.7-300.fc20.x86_64 #1 SMP Fri Jan 10 15:35:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
xmvn-1.5.0-0.15.gitc02edb5.noarch
maven-local-3.4.2-3.fc21.noarch
java version "1.7.0_45"
OpenJDK Runtime Environment (fedora-2.4.3.1.fc21-x86_64 u45-b15)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
bash-4.2#

 From there you can make your own images, copy files out, etc. Basically have at it.

I'll probably refresh that image every few days or so.

Hope it's of use.

\Pete
https://index.docker.io/u/pmackinn/xmvn-ivy-rawhide/
http://docs.docker.io/en/latest/use/basics/


-- 
Peter MacKinnon
MRG Grid/Big Data
Red Hat Inc.
Raleigh, NC



More information about the bigdata mailing list