Skip to content

Commit

Permalink
gentoo-iproute2: Add sys-apps/iproute2 to images
Browse files Browse the repository at this point in the history
Avoid:

  lxc-start: failed to open log file "/var/lib/lxc/b149.../b149....log" :
    No such file or directory

because iproute2 needs to be in the image [1].

Really?
  moby/moby#925
  moby/moby#2157

[1]: https://groups.google.com/forum/#!msg/docker-user/yXOt3qISHXU/8ntkUNJR0h0J
  • Loading branch information
wking committed Apr 16, 2014
1 parent b8f0a0e commit b12bd4f
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 23 deletions.
45 changes: 23 additions & 22 deletions README.md
Expand Up @@ -18,28 +18,29 @@ The dependency graph is:

wking/gentoo (amd64 stage3)
`-- gentoo-portage (adds portage directory)
`-- gentoo-utc (adds a system timezone)
`-- gentoo-en-us (adds locale)
`-- 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)
| `-- package-cache (adds a package-cache proxy)
|-- gentoo-node (adds Node and npm)
| `-- hubot (adds hubot with an IRC adapter)
|-- irker (adds irker, and spawns irkerd by default)
|-- memcached (adds Memcached)
|-- nginx (adds Nginx)
| |-- nginx-proxy (SSL/TLS proxying via SNI)
| |-- kibana (adds Kibana)
| `-- kibana-azure (adds Azure's Kibana)
|-- ngircd (adds ngIRCd)
|-- postgresql (adds PostgreSQL)
|-- redis (adds Redis)
|-- salt-minion (adds a Salt Stack minion)
|-- stunnel (adds stunnel)
`-- gentoo-java (adds IcedTea)
`-- elasticsearch (adds Elasticsearch)
`-- gentoo-iproute2 (adds iproute2 for the ip binary)
`-- gentoo-utc (adds a system timezone)
`-- gentoo-en-us (adds locale)
`-- 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)
| `-- package-cache (adds a package-cache proxy)
|-- gentoo-node (adds Node and npm)
| `-- hubot (adds hubot with an IRC adapter)
|-- irker (adds irker, and spawns irkerd by default)
|-- memcached (adds Memcached)
|-- nginx (adds Nginx)
| |-- nginx-proxy (SSL/TLS proxying via SNI)
| |-- kibana (adds Kibana)
| `-- kibana-azure (adds Azure's Kibana)
|-- ngircd (adds ngIRCd)
|-- postgresql (adds PostgreSQL)
|-- redis (adds Redis)
|-- salt-minion (adds a Salt Stack minion)
|-- stunnel (adds stunnel)
`-- gentoo-java (adds IcedTea)
`-- elasticsearch (adds Elasticsearch)

Run:

Expand Down
1 change: 1 addition & 0 deletions build.sh
Expand Up @@ -43,6 +43,7 @@ BUILD_OPTS="${BUILD_OPTS:-}"
REPOS="${REPOS:-
portage
gentoo-portage
gentoo-iproute2
gentoo-utc
gentoo-en-us
gentoo-syslog
Expand Down
29 changes: 29 additions & 0 deletions gentoo-iproute2/Dockerfile.template
@@ -0,0 +1,29 @@
# Copyright (C) 2014 W. Trevor King <wking@tremily.us>
#
# 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-portage:${TAG}
MAINTAINER ${MAINTAINER}
#VOLUME ["${PORTAGE}:/usr/portage:ro", "${PORTAGE}/distfiles:/usr/portage/distfiles:rw"]
RUN emerge -av sys-apps/iproute2
RUN eselect news read new
2 changes: 1 addition & 1 deletion gentoo-utc/Dockerfile.template
Expand Up @@ -22,7 +22,7 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.

FROM ${NAMESPACE}/gentoo-portage:${TAG}
FROM ${NAMESPACE}/gentoo-iproute2:${TAG}
MAINTAINER ${MAINTAINER}
#VOLUME ["${PORTAGE}:/usr/portage:ro", "${PORTAGE}/distfiles:/usr/portage/distfiles:rw"]
RUN echo 'UTC' > /etc/timezone
Expand Down

0 comments on commit b12bd4f

Please sign in to comment.