Increase usefulness of openstack-base
Just like last cycle, I ran all of the requirements and found the packages that were installed >=10 times throughout our containers. By combining them in the openstack-base we reduce the size of the images by ~600MB (10%) and decrease build time by a measurable amount (5-10m in the case of Centos) TrivialFix Change-Id: I582d75644a8e8b936c6f9fc10c6b5821e1e8c5c4
This commit is contained in:
parent
e9b9a84157
commit
0da25415f8
@ -111,28 +111,108 @@ RUN ln -s openstack-base-source/* /requirements \
|
|||||||
&& pip --no-cache-dir install -U virtualenv \
|
&& pip --no-cache-dir install -U virtualenv \
|
||||||
&& virtualenv --system-site-packages /var/lib/kolla/venv \
|
&& virtualenv --system-site-packages /var/lib/kolla/venv \
|
||||||
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt \
|
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt \
|
||||||
|
Babel \
|
||||||
|
Mako \
|
||||||
|
MarkupSafe \
|
||||||
|
Paste \
|
||||||
|
PasteDeploy \
|
||||||
|
PyYAML \
|
||||||
|
Routes \
|
||||||
|
SQLAlchemy \
|
||||||
|
Tempita \
|
||||||
|
WebOb \
|
||||||
|
alembic \
|
||||||
|
amqp \
|
||||||
|
anyjson \
|
||||||
|
appdirs \
|
||||||
|
cachetools \
|
||||||
|
cliff \
|
||||||
|
cmd2 \
|
||||||
|
contextlib2 \
|
||||||
|
debtcollector \
|
||||||
|
decorator \
|
||||||
|
enum34 \
|
||||||
|
eventlet \
|
||||||
|
fasteners \
|
||||||
|
funcsigs \
|
||||||
|
functools32 \
|
||||||
|
futures \
|
||||||
|
futurist \
|
||||||
|
greenlet \
|
||||||
|
iso8601 \
|
||||||
jinja2 \
|
jinja2 \
|
||||||
|
jsonpatch \
|
||||||
|
jsonpointer \
|
||||||
|
jsonschema \
|
||||||
kazoo \
|
kazoo \
|
||||||
|
keystoneauth1 \
|
||||||
keystonemiddleware \
|
keystonemiddleware \
|
||||||
|
kombu \
|
||||||
|
monotonic \
|
||||||
|
msgpack-python \
|
||||||
|
netaddr \
|
||||||
|
netifaces \
|
||||||
|
os-client-config \
|
||||||
|
oslo.concurrency \
|
||||||
|
oslo.config \
|
||||||
|
oslo.context \
|
||||||
|
oslo.db \
|
||||||
|
oslo.i18n \
|
||||||
|
oslo.log \
|
||||||
|
oslo.messaging \
|
||||||
|
oslo.middleware \
|
||||||
|
oslo.policy \
|
||||||
|
oslo.serialization \
|
||||||
|
oslo.service \
|
||||||
|
oslo.utils \
|
||||||
|
pbr \
|
||||||
|
pika \
|
||||||
|
pika-pool \
|
||||||
|
positional \
|
||||||
|
prettytable \
|
||||||
|
pycadf \
|
||||||
|
pycrypto \
|
||||||
|
pyinotify \
|
||||||
|
pymysql \
|
||||||
|
pyparsing \
|
||||||
python-barbicanclient \
|
python-barbicanclient \
|
||||||
python-ceilometerclient \
|
python-ceilometerclient \
|
||||||
|
python-cinderclient \
|
||||||
python-congressclient \
|
python-congressclient \
|
||||||
|
python-dateutil \
|
||||||
python-designateclient \
|
python-designateclient \
|
||||||
|
python-editor \
|
||||||
|
python-glanceclient \
|
||||||
python-heatclient \
|
python-heatclient \
|
||||||
python-ironicclient \
|
python-ironicclient \
|
||||||
|
python-keystoneclient \
|
||||||
python-magnumclient \
|
python-magnumclient \
|
||||||
python-manilaclient \
|
python-manilaclient \
|
||||||
|
python-memcached \
|
||||||
python-mistralclient \
|
python-mistralclient \
|
||||||
python-muranoclient \
|
python-muranoclient \
|
||||||
|
python-neutronclient \
|
||||||
|
python-novaclient \
|
||||||
|
python-openstackclient \
|
||||||
python-saharaclient \
|
python-saharaclient \
|
||||||
python-swiftclient \
|
python-swiftclient \
|
||||||
python-troveclient \
|
python-troveclient \
|
||||||
python-tuskarclient \
|
python-tuskarclient \
|
||||||
python-zaqarclient \
|
python-zaqarclient \
|
||||||
python-openstackclient \
|
pytz \
|
||||||
pymysql \
|
repoze.lru \
|
||||||
python-memcached \
|
requests \
|
||||||
six
|
requestsexceptions \
|
||||||
|
retrying \
|
||||||
|
simplejson \
|
||||||
|
six \
|
||||||
|
sqlalchemy-migrate \
|
||||||
|
sqlparse \
|
||||||
|
stevedore \
|
||||||
|
unicodecsv \
|
||||||
|
warlock \
|
||||||
|
wrapt
|
||||||
|
|
||||||
ENV PATH /var/lib/kolla/venv/bin:$PATH
|
ENV PATH /var/lib/kolla/venv/bin:$PATH
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user