From 23a7fa286973be3bcbfbdb17317b144ef74fa02c Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Tue, 19 May 2015 05:42:26 -0500 Subject: Separate base images into different folders MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This moves a few things around. Namely centos/fedora-rdo-base becomes centos/rdo/base fedora/rdo/base I have also separated out RHEL. Moves the current scripts in "base" to a "common" folder common to all images and then recreates the appropriate links to allow all the containers to build the same way they did before. This removes all .buildconfs in the system (though they are still usable) Partially Implements: blueprint refactor-base-image-layout Co-Authored-By: Martin André Change-Id: Id63eac1eb9893ceb775c28bf22842dede85c214a --- docker/rhel/binary/barbican | 1 + docker/rhel/binary/base/Dockerfile | 92 ++++++++++++++++++++++++++++++++ docker/rhel/binary/base/build | 1 + docker/rhel/binary/base/kolla-common.sh | 1 + docker/rhel/binary/base/service_hosts.sh | 1 + docker/rhel/binary/ceilometer | 1 + docker/rhel/binary/cinder | 1 + docker/rhel/binary/designate | 1 + docker/rhel/binary/docker-compose | 1 + docker/rhel/binary/glance | 1 + docker/rhel/binary/hautoproxy | 1 + docker/rhel/binary/heat | 1 + docker/rhel/binary/horizon | 1 + docker/rhel/binary/keystone | 1 + docker/rhel/binary/magnum | 1 + docker/rhel/binary/mariadb-app | 1 + docker/rhel/binary/mariadb-data | 1 + docker/rhel/binary/mongodb | 1 + docker/rhel/binary/neutron | 1 + docker/rhel/binary/nova-base | 1 + docker/rhel/binary/nova-compute | 1 + docker/rhel/binary/nova-controller | 1 + docker/rhel/binary/rabbitmq | 1 + docker/rhel/binary/swift | 1 + docker/rhel/binary/zaqar | 1 + docker/rhel/osp | 1 + 26 files changed, 117 insertions(+) create mode 120000 docker/rhel/binary/barbican create mode 100644 docker/rhel/binary/base/Dockerfile create mode 120000 docker/rhel/binary/base/build create mode 120000 docker/rhel/binary/base/kolla-common.sh create mode 120000 docker/rhel/binary/base/service_hosts.sh create mode 120000 docker/rhel/binary/ceilometer create mode 120000 docker/rhel/binary/cinder create mode 120000 docker/rhel/binary/designate create mode 120000 docker/rhel/binary/docker-compose create mode 120000 docker/rhel/binary/glance create mode 120000 docker/rhel/binary/hautoproxy create mode 120000 docker/rhel/binary/heat create mode 120000 docker/rhel/binary/horizon create mode 120000 docker/rhel/binary/keystone create mode 120000 docker/rhel/binary/magnum create mode 120000 docker/rhel/binary/mariadb-app create mode 120000 docker/rhel/binary/mariadb-data create mode 120000 docker/rhel/binary/mongodb create mode 120000 docker/rhel/binary/neutron create mode 120000 docker/rhel/binary/nova-base create mode 120000 docker/rhel/binary/nova-compute create mode 120000 docker/rhel/binary/nova-controller create mode 120000 docker/rhel/binary/rabbitmq create mode 120000 docker/rhel/binary/swift create mode 120000 docker/rhel/binary/zaqar create mode 120000 docker/rhel/osp (limited to 'docker/rhel') diff --git a/docker/rhel/binary/barbican b/docker/rhel/binary/barbican new file mode 120000 index 000000000..7dd5c24ce --- /dev/null +++ b/docker/rhel/binary/barbican @@ -0,0 +1 @@ +../../centos/binary/barbican \ No newline at end of file diff --git a/docker/rhel/binary/base/Dockerfile b/docker/rhel/binary/base/Dockerfile new file mode 100644 index 000000000..422875dd6 --- /dev/null +++ b/docker/rhel/binary/base/Dockerfile @@ -0,0 +1,92 @@ +FROM rhel7 +MAINTAINER Kolla Project (https://launchpad.net/kolla) + +RUN yum install -y \ + mariadb-libs \ + openstack-utils \ + pyparsing \ + python-alembic \ + python-amqp \ + python-amqplib \ + python-anyjson \ + python-boto \ + python-ceilometerclient \ + python-cheetah \ + python-cinderclient \ + python-cliff \ + python-cmd2 \ + python-croniter \ + python-crypto \ + python-d2to1 \ + python-docutils \ + python-dogpile-cache \ + python-dogpile-core \ + python-empy \ + python-eventlet \ + python-flask \ + python-futures \ + python-glanceclient \ + python-greenlet \ + python-heatclient \ + python-httplib2 \ + python-iso8601 \ + python-itsdangerous \ + python-jinja2 \ + python-jsonpatch \ + python-jsonpath-rw \ + python-jsonpointer \ + python-jsonschema \ + python-keyring \ + python-keystoneclient \ + python-kombu \ + python-lesscpy \ + python-lockfile \ + python-lxml \ + python-markdown \ + python-memcached \ + python-ldap \ + python-migrate \ + python-msgpack \ + python-netifaces \ + python-networkx \ + python-neutronclient \ + python-novaclient \ + python-oauthlib \ + python-openstackclient \ + python-oslo-config \ + python-oslo-messaging \ + python-oslo-rootwrap \ + python-oslo-vmware \ + python-paramiko \ + python-passlib \ + python-paste-deploy \ + python-pbr \ + python-pecan \ + python-ply \ + python-prettytable \ + python-psutil \ + python-pycadf \ + python-pygments \ + python-pymongo \ + python-qpid \ + python-repoze-lru \ + python-requests \ + python-routes \ + python-saharaclient \ + python-simplegeneric \ + python-simplejson \ + python-singledispatch \ + python-six \ + python-sqlalchemy \ + python-stevedore \ + python-swiftclient \ + python-taskflow \ + python-troveclient \ + python-versiontools \ + python-warlock \ + python-webob \ + python-websockify \ + python-webtest \ + python-werkzeug \ + python-wsme \ + && yum clean all diff --git a/docker/rhel/binary/base/build b/docker/rhel/binary/base/build new file mode 120000 index 000000000..8d652f7ee --- /dev/null +++ b/docker/rhel/binary/base/build @@ -0,0 +1 @@ +../../../../tools/build-docker-image \ No newline at end of file diff --git a/docker/rhel/binary/base/kolla-common.sh b/docker/rhel/binary/base/kolla-common.sh new file mode 120000 index 000000000..380efbc3d --- /dev/null +++ b/docker/rhel/binary/base/kolla-common.sh @@ -0,0 +1 @@ +../../../common/kolla-common.sh \ No newline at end of file diff --git a/docker/rhel/binary/base/service_hosts.sh b/docker/rhel/binary/base/service_hosts.sh new file mode 120000 index 000000000..777b7334d --- /dev/null +++ b/docker/rhel/binary/base/service_hosts.sh @@ -0,0 +1 @@ +../../../common/service_hosts.sh \ No newline at end of file diff --git a/docker/rhel/binary/ceilometer b/docker/rhel/binary/ceilometer new file mode 120000 index 000000000..b9f08a71f --- /dev/null +++ b/docker/rhel/binary/ceilometer @@ -0,0 +1 @@ +../../centos/binary/ceilometer \ No newline at end of file diff --git a/docker/rhel/binary/cinder b/docker/rhel/binary/cinder new file mode 120000 index 000000000..037fd7f7e --- /dev/null +++ b/docker/rhel/binary/cinder @@ -0,0 +1 @@ +../../centos/binary/cinder \ No newline at end of file diff --git a/docker/rhel/binary/designate b/docker/rhel/binary/designate new file mode 120000 index 000000000..5090326fe --- /dev/null +++ b/docker/rhel/binary/designate @@ -0,0 +1 @@ +../../centos/binary/designate \ No newline at end of file diff --git a/docker/rhel/binary/docker-compose b/docker/rhel/binary/docker-compose new file mode 120000 index 000000000..287f1cd13 --- /dev/null +++ b/docker/rhel/binary/docker-compose @@ -0,0 +1 @@ +../../centos/binary/docker-compose \ No newline at end of file diff --git a/docker/rhel/binary/glance b/docker/rhel/binary/glance new file mode 120000 index 000000000..4b4131254 --- /dev/null +++ b/docker/rhel/binary/glance @@ -0,0 +1 @@ +../../centos/binary/glance \ No newline at end of file diff --git a/docker/rhel/binary/hautoproxy b/docker/rhel/binary/hautoproxy new file mode 120000 index 000000000..916cfd197 --- /dev/null +++ b/docker/rhel/binary/hautoproxy @@ -0,0 +1 @@ +../../centos/binary/hautoproxy \ No newline at end of file diff --git a/docker/rhel/binary/heat b/docker/rhel/binary/heat new file mode 120000 index 000000000..a675ed4cb --- /dev/null +++ b/docker/rhel/binary/heat @@ -0,0 +1 @@ +../../centos/binary/heat \ No newline at end of file diff --git a/docker/rhel/binary/horizon b/docker/rhel/binary/horizon new file mode 120000 index 000000000..c460446ee --- /dev/null +++ b/docker/rhel/binary/horizon @@ -0,0 +1 @@ +../../centos/binary/horizon \ No newline at end of file diff --git a/docker/rhel/binary/keystone b/docker/rhel/binary/keystone new file mode 120000 index 000000000..fb666c53b --- /dev/null +++ b/docker/rhel/binary/keystone @@ -0,0 +1 @@ +../../centos/binary/keystone \ No newline at end of file diff --git a/docker/rhel/binary/magnum b/docker/rhel/binary/magnum new file mode 120000 index 000000000..d5c1f84ed --- /dev/null +++ b/docker/rhel/binary/magnum @@ -0,0 +1 @@ +../../centos/binary/magnum \ No newline at end of file diff --git a/docker/rhel/binary/mariadb-app b/docker/rhel/binary/mariadb-app new file mode 120000 index 000000000..017d6c212 --- /dev/null +++ b/docker/rhel/binary/mariadb-app @@ -0,0 +1 @@ +../../centos/binary/mariadb-app \ No newline at end of file diff --git a/docker/rhel/binary/mariadb-data b/docker/rhel/binary/mariadb-data new file mode 120000 index 000000000..095a5e84f --- /dev/null +++ b/docker/rhel/binary/mariadb-data @@ -0,0 +1 @@ +../../centos/binary/mariadb-data \ No newline at end of file diff --git a/docker/rhel/binary/mongodb b/docker/rhel/binary/mongodb new file mode 120000 index 000000000..486f6030f --- /dev/null +++ b/docker/rhel/binary/mongodb @@ -0,0 +1 @@ +../../centos/binary/mongodb \ No newline at end of file diff --git a/docker/rhel/binary/neutron b/docker/rhel/binary/neutron new file mode 120000 index 000000000..09ccb9467 --- /dev/null +++ b/docker/rhel/binary/neutron @@ -0,0 +1 @@ +../../centos/binary/neutron \ No newline at end of file diff --git a/docker/rhel/binary/nova-base b/docker/rhel/binary/nova-base new file mode 120000 index 000000000..7600927f2 --- /dev/null +++ b/docker/rhel/binary/nova-base @@ -0,0 +1 @@ +../../centos/binary/nova-base \ No newline at end of file diff --git a/docker/rhel/binary/nova-compute b/docker/rhel/binary/nova-compute new file mode 120000 index 000000000..ab70e1c1b --- /dev/null +++ b/docker/rhel/binary/nova-compute @@ -0,0 +1 @@ +../../centos/binary/nova-compute \ No newline at end of file diff --git a/docker/rhel/binary/nova-controller b/docker/rhel/binary/nova-controller new file mode 120000 index 000000000..d4e6ba4ef --- /dev/null +++ b/docker/rhel/binary/nova-controller @@ -0,0 +1 @@ +../../centos/binary/nova-controller \ No newline at end of file diff --git a/docker/rhel/binary/rabbitmq b/docker/rhel/binary/rabbitmq new file mode 120000 index 000000000..d6f927fc9 --- /dev/null +++ b/docker/rhel/binary/rabbitmq @@ -0,0 +1 @@ +../../centos/binary/rabbitmq \ No newline at end of file diff --git a/docker/rhel/binary/swift b/docker/rhel/binary/swift new file mode 120000 index 000000000..b4416ea0f --- /dev/null +++ b/docker/rhel/binary/swift @@ -0,0 +1 @@ +../../centos/binary/swift \ No newline at end of file diff --git a/docker/rhel/binary/zaqar b/docker/rhel/binary/zaqar new file mode 120000 index 000000000..1adc217cb --- /dev/null +++ b/docker/rhel/binary/zaqar @@ -0,0 +1 @@ +../../centos/binary/zaqar \ No newline at end of file diff --git a/docker/rhel/osp b/docker/rhel/osp new file mode 120000 index 000000000..cab89b7b4 --- /dev/null +++ b/docker/rhel/osp @@ -0,0 +1 @@ +binary \ No newline at end of file -- cgit v1.2.3