Docker bootstrap image for xmvn-based development
Peter MacKinnon
pmackinn at redhat.com
Tue Jan 14 23:43:47 UTC 2014
As the sign at the cliff says: "Just a little further..."
I have added two more docker images to my repo due to the expansive
nature of the ecosystem dependency chain:
* https://index.docker.io/u/pmackinn/hadoop-dev-rawhide/
An image containing Hadoop 2.2.0 and its dependencies (no javadocs
installed), layered on top of xmvn-ivy-rawhide. Note that this image
uses a slightly older version of netty (3 series) wedged in to
mitigate the current netty 4 dep issues.
* https://index.docker.io/u/pmackinn/hbase-dev-rawhide/
An image containing Rob Rati's current Hbase candidate built from
spec, layered on top of hadoop-dev-rawhide.
If you pulled the xmvn-ivy-rawhide image earlier today, you may want to
pull again to pick up a minor omission that affects how ant finds the
Ivy resolver. Apologies for that.
These images are now pushing 3Gb (9x increase in size factor). They may
eventually not age well, but hopefully they can assist you with interim
productivity (assuming you don't work over dial-up).
\Pete
On 01/14/2014 01:02 PM, Peter MacKinnon wrote:
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/bigdata/attachments/20140114/1b0ad765/attachment.html>
More information about the bigdata
mailing list