From: W. Trevor King Date: Fri, 13 Dec 2013 03:53:16 +0000 (-0800) Subject: gentoo-java/Dockerfile.template: Add Gentoo+Java container instructions X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f37744d6709e21bbd265cd9f087c57aed46fdf08;p=dockerfile.git gentoo-java/Dockerfile.template: Add Gentoo+Java container instructions I tried to bootstrap icedtea using icedtea-bin, but ran into a blocker between app-admin/eselect-java-0.1.0 and dev-java/java-config2.1.12-r1. Figuring out a resolution is not worth my time ;). --- diff --git a/README.md b/README.md index a946d79..e63b9f3 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,8 @@ The dependency graph is: `-- gentoo-syslog (adds syslog-ng and associates) |-- buildbot (adds a Buildbot master and slave) |-- postgresql (adds PostgreSQL) - `-- redis (adds Redis) + |-- redis (adds Redis) + `-- gentoo-java (adds IcedTea) Run: diff --git a/build.sh b/build.sh index 6b1a05a..7b50475 100755 --- a/build.sh +++ b/build.sh @@ -38,6 +38,7 @@ REPOS=" gentoo-portage gentoo-en-us gentoo-syslog + gentoo-java buildbot postgresql redis diff --git a/gentoo-java/Dockerfile.template b/gentoo-java/Dockerfile.template new file mode 100644 index 0000000..1e153b9 --- /dev/null +++ b/gentoo-java/Dockerfile.template @@ -0,0 +1,30 @@ +# Copyright (C) 2013 W. Trevor King +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, this +# list of conditions and the following disclaimer. +# +# * Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + +FROM NAMESPACE/gentoo-syslog:TAG +MAINTAINER A. U. Thor +#VOLUME ["PORTAGE:/usr/portage:ro", "PORTAGE/distfiles:/usr/portage/distfiles:rw"] +RUN echo 'USE="${USE} -X -cups"' >> /etc/portage/make.conf +RUN emerge -v dev-java/icedtea-bin +RUN eselect news read new