From: W. Trevor King Date: Fri, 21 Feb 2014 17:48:38 +0000 (-0800) Subject: gentoo-layman: Add a layman container for easy overlay Dockerfiles X-Git-Url: http://git.tremily.us/?p=dockerfile.git;a=commitdiff_plain;h=c03fb232f248f829ff28c9aa438b2a6290075db3 gentoo-layman: Add a layman container for easy overlay Dockerfiles --- diff --git a/README.md b/README.md index d7984d0..0a4ad89 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ The dependency graph is: `-- gentoo-syslog (adds syslog-ng and associates) |-- buildbot (adds a Buildbot master and slave) |-- docker-registry (adds a Docker registry server) + |-- gentoo-layman (adds layman for Gentoo overlays) |-- memcached (adds Memcached) |-- nginx (adds Nginx) | |-- nginx-proxy (SSL/TLS proxying via SNI) diff --git a/build.sh b/build.sh index f52c44b..df185ee 100755 --- a/build.sh +++ b/build.sh @@ -46,6 +46,7 @@ REPOS="${REPOS:- gentoo-en-us gentoo-syslog gentoo-java + gentoo-layman buildbot docker-registry elasticsearch diff --git a/gentoo-layman/Dockerfile.template b/gentoo-layman/Dockerfile.template new file mode 100644 index 0000000..2f15cc0 --- /dev/null +++ b/gentoo-layman/Dockerfile.template @@ -0,0 +1,31 @@ +# Copyright (C) 2014 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 ${MAINTAINER} +#VOLUME ["${PORTAGE}:/usr/portage:ro", "${PORTAGE}/distfiles:/usr/portage/distfiles:rw"] +RUN emerge -v layman +RUN eselect news read new +RUN echo 'source /var/lib/layman/make.conf' >> /etc/portage/make.conf +RUN layman --fetch