summaryrefslogtreecommitdiff
path: root/docker/openstack-base/Dockerfile.j2
AgeCommit message (Collapse)AuthorFilesLines
2017-04-10mariadb: handle lack of external repos on non x86Marcin Juszkiewicz1-1/+14
MariaDB-* packages are from external 'x86_64 only' repository. Other architectures use CentOS packages. Split needs to be done as 'mariadb-devel' is provided by three different packages on x86-64. Partially-Implements: blueprint multiarch-and-arm64-containers Depends-On: I71ddb7ef57c64d2505cac96724b1ab6772a57d6a Change-Id: I9f3394eb35723f2bbf3205c6af6101b5a9daed38
2017-04-06openstack-base: Percona-Server is x86-64 onlyMarcin Juszkiewicz1-1/+7
Percona-Server-shared-56 package comes from external "x86-64 only" repository so let's handle it properly. Partially-Implements: blueprint multiarch-and-arm64-containers Depends-On: I71ddb7ef57c64d2505cac96724b1ab6772a57d6a Change-Id: I5158861d22df0e13f7c6abfb2f0f98d392827345
2017-04-04debian: enable all images enabled for UbuntuMarcin Juszkiewicz1-2/+2
Debian support is not maintained in Kolla so it got a bit behind Ubuntu one. This changeset enables Debian for all images. Jessie (even with backports) may be too old for some images though. Also unify distro check to ['debian', 'ubuntu'] to keep alphabetical order like it is done for RPM distributions. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: I056233fbfa277e0e2360c07c3f80d9558c554357
2017-03-28Alphabetize packagesEduardo Gonzalez1-13/+13
Some images have packages sorted alphabetically and some not. Unify common style between all images. Change-Id: I906ed89c10b12886665618752f525ba71d83d991
2017-03-12Install osprofiler in openstack-base containerJeffrey Zhang1-0/+3
osprofiler package is required when using osprofiler tool. [0] https://github.com/openstack/osprofiler Change-Id: I2d11778e94564ad0c04685eeff45f36430779099 Closes-Bug: #1672125
2017-02-17Use install-pip macro in most source imagesChao Guo1-2/+4
1. Enable customization of pip packages in source branch of most images 2. All pip packages install uniformly through install-pip macro, user can easily customize his own pip command (For example using a mirror) Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com> Change-Id: If09582039f690fa4136e8f33200d5da15e092da7
2017-01-20Merge "Fix gnocchi dockerfile"Jenkins1-0/+3
2017-01-18Fix gnocchi dockerfilezhubingbing1-0/+3
* remove /var/log/gnocchi * move gnocchiclient to openstack-base * remove /var/lib/gnocchi because it create by macro Change-Id: I4e06991dd7ca45b4c705b0e4be6e22ba1667e861
2017-01-18Fix aodh dockerfilezhubingbing1-0/+3
remove /var/log/kolla/aodh move python-aodhclient to openstack-base Change-Id: I50110ca8048ed83bcf85ea5ed21eb248522362fe
2017-01-13Add cloudkitty centos/oracle binary packagesEduardo Gonzalez1-0/+2
Also add python-cloudkittyclient pip package for source installs. Change-Id: I82a7b3d42ccd527df9e11e857e285a87b6acddf6
2017-01-05Remove footer block and variable in *-base imagesJeffrey Zhang1-1/+0
Change-Id: I39aa88489f744f779150695f3f55ef80d42e1c61 Closes-Bug: #1653247
2016-11-07Merge "Install MySQL-python with pip in openstack-base container (type source)"Jenkins1-1/+1
2016-11-06Merge "Include oslo.vmware along with other oslo packages in openstack-base."Jenkins1-0/+1
2016-11-04Include oslo.vmware along with other oslo packages in openstack-base.James McCarthy1-0/+1
TrivialFix Change-Id: Ie1662f7e9873b7cd71e819a76b1eef0b5063da8e
2016-11-03Remove Fedora supportChristian Berendt1-3/+3
Closes-bug: #1616387 Change-Id: Id97f88b9baa3d48d33ce120962450a374282d044
2016-10-12Install MySQL-python with pip in openstack-base container (type source)Christian Berendt1-1/+1
MySQL-python is required by the Horizon database session cache. Change-Id: I620767bc10f3316ed1037d86f5f6729066bfcfbd Closes-bug: #1630559
2016-10-06Install python-mysqldb for Ubuntu in openstack-base containerChristian Berendt1-0/+1
python-mysqldb is required by the Horizon database session cache. Change-Id: If52a9a6c9addbebc955e4755ea3c7c1a81df1bca Closes-bug: #1630559
2016-09-22Merge "Allow use of database for Horizon sessions"Jenkins1-0/+1
2016-09-14Merge "Add header blocks to all Dockerfiles"Jenkins1-0/+2
2016-09-13Allow customizations of pip packagesMichal (inc0) Jastrzebski1-102/+105
Customizations of packages for source builds Closes-Bug: #1623083 Change-Id: I99263af53c8f9830bcf0c6fec78194c8f7cd88c5
2016-09-13Add header blocks to all DockerfilesPaul Bourke1-0/+2
Change needed to add header blocks to all Dockerfiles, similar to the base. Use case is to easily run something before packages are installed, e.g. to COPY a local rpm in that can be added to the package list. Change-Id: I1bbfdf0b762da0a392aa8bf47781315b45377bee Closes-Bug: 1618969
2016-09-08Allow use of database for Horizon sessionsPaul Bourke1-0/+1
Database-backed sessions are scalable (using an appropriate database strategy), persistent, and can be made high-concurrency and highly-available [0] Default is off. [0] http://docs.openstack.org/developer/horizon/topics/deployment.html#database Co-Authored-By: Vladislav Belogrudov <vladislav.belogrudov@oracle.com> Closes-Bug: 1618781 Change-Id: Ib68a21397dc020d20e07dcc51d3d0fdc1de102ff
2016-08-31Allow operators to override use of get-pip.pyPaul Bourke1-3/+6
Operators may not want to run get-pip.py from an external source. TrivialFix Change-Id: I591b0cef135f9e1e3054c48c93a17b7b74fd0a9a
2016-08-25Import the Murano core libary as part of setupPaul Bourke1-2/+5
In order for Murano to be operational the core library package must be imported [0] Add Ansible tasks to do this idempotently. [0] http://docs.openstack.org/developer/murano/install/manual.html TrivialFix Change-Id: I2c49e9d663595650b885267839012b543505337a
2016-08-23Merge "Remove Kazoo dependency and Kolla Zookeeper helper"Jenkins1-1/+0
2016-08-19Remove Kazoo dependency and Kolla Zookeeper helperSzymon Konefal1-1/+0
Related-Bug: #1577194 Change-Id: Idad2a78d3b4251a321c1a05b435bff4625d5fe56
2016-08-19Handle empty package list for install_packagesShaun Smekel1-3/+3
Currently if the install_packages macro is run with an empty package list, it will add a yum or apt-get command with no packages listed. This bug fix aims to omit this line when no packages have been given, or, the operator wants to use the "_override" / "_remove" functionality to disable all packages being installed in a Dockerfile. Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: Ifaaaebfccc3adb0f2f68a35ac08e59378bc87fdb Closes-bug: 1612446
2016-08-16Add support for building vmtp containerLarry Rensing1-0/+3
Add needed library packages and Dockerfile to build vmtp container. Co-Authored-By: Larry Rensing <lr699s@att.com> Partially implements: bp vmtp-container Change-Id: I54340947f3bdf61d3e4f54884fed90ac318124ff
2016-08-12Customizations for OpenStack BaseShaun Smekel1-198/+203
This patchset contains customization of Dockerfile of the OpenStack Base container. Change-Id: I20ce24a296ace45169131463c992f6f0e9b4d131 Partially-implements: blueprint third-party-plugin-support
2016-06-22Remove deprecated package python-tuskarclientSwapnil Kulkarni (coolsvap)1-3/+0
TrivialFix Change-Id: I4477b1e9681a34a85baf30e94c63f05e0d24ab7a
2016-05-26Update ubuntu dockerfiles for formattingSwapnil Kulkarni (coolsvap)1-2/+2
Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug: #1569417
2016-05-02Add python-memcache package openstack baseStephane Boisvert1-0/+1
Adding python-memcache package to openstack-base ubuntu docker images. Closes-Bug: #1577422 Change-Id: I5112c0ba3234a0b3cfc7677f9fbb7c152ab64917
2016-03-21Improve openstack-base image for centos binaryRyan Hallisey1-4/+120
TrivialFix Closes-bug: #1560170 Change-Id: Ia3a9756c58f0ead3b20e435f1d1546408f4a8b36
2016-03-19Increase usefulness of openstack-baseSamYaple1-4/+84
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
2016-03-09mariadb-devel is deprecatedSteven Dake1-1/+1
mariadb 10 uses the packaging convention MariaDB-* to not conflict with mariadb 5. As such, MariaDB-devel was indicating a deprecation warning which this patch removes. TrivialFix Change-Id: I4b51fcedce3ef9e44c4a6830cd38ca8040a4d3f6
2016-02-23Fix building centos kolla-toolboxJeffrey Zhang1-1/+0
Percona recently updated their package which is now conflicting with mariadb-libs. Closes-Bug: #1548589 Change-Id: I9db7ffb8b94b623784cffa3e63804c47375097d1
2016-02-16Install python-dogpile-cache for python-ironicclientAllen Gao1-0/+3
Change-Id: I4f41d05be1dc01b00e794b872e7f79d5bee48a21 Closes-Bug: #1546024
2016-02-10Merge "Safely create directories"Jenkins1-1/+1
2016-02-10Safely create directoriesMartin André1-1/+1
This prevents failure when the directory already exists. This commit fixes a failure in centos-binary because of a change in the RDO packaging, where the required directory is now created for us. Change-Id: Idd3e15802c3e3fd363e1295111ec12948d566781 Closes-Bug: #1543417
2016-02-09Remove unnecessary patch for oslo.logHui Kang1-4/+0
Ubuntu binary package includes the fix TrivialFix Change-Id: Iaeff250e75565b1f447d97acfffc1b1a3a76c250
2016-01-25Merge "Install keystonemiddleware for source build swift proxy server"Jenkins1-0/+1
2016-01-26Install keystonemiddleware for source build swift proxy serverQiu Yu1-0/+1
Swift doesn't have hard dependency on keystone authentication. Hence keystonemiddleware is not listed in Keystone's requirements.txt. For Kolla setup, since keystone is by default enabled, ensure keystonemiddleware is correctly installed in proxy server Dockerfile. Change-Id: Ie49433772d7ebe13b984dc0eb93840e6ca54a91a Closes-Bug: #1537407
2016-01-25Revert "Pin the pip version to 7.1.2"Allen Gao1-7/+0
This reverts commit 14dfbc13a25b43850be15933ca79a7d701b91bac. This issue has already been fixed after pip 8.0.1 released. TrivialFix Change-Id: Ie559286beac56aa5ac35addd647c1d342ba6562b
2016-01-20Pin the pip version to 7.1.2Jeffrey Zhang1-0/+7
latest pip 8.0 can not override the system installed package Closes-Bug: #1536023 Change-Id: Ida07fc9e2e8aaffb3caaffce75ec4cbf8a4994e8
2016-01-05Remove MariaDB-shared in openstack-baseMartin André1-2/+0
After we switched to PyMySQL in openstack-base, there is no need to compile MySQL-python thus to install MariaDB-shared package as a workaround for busted percona packages. TrivialFix Related-Bug: #1526129 Change-Id: I93b4bee9d42427b493dac3a0039e0b1a9cac9f71
2015-12-30Merge "Base and openstack-base ubuntu binary containers."Jenkins1-1/+34
2015-12-30Base and openstack-base ubuntu binary containers.Artur Zarzycki1-1/+34
Change-Id: I93d7f4227f6b4ac04e1af5afd5e46bdbaba84b4f Partially-Implements: blueprint binary-ubuntu
2015-12-27Fix pip install settingsSamYaple1-3/+3
There were some inconsistencies with pip install instructions thoughout Kolla. We fix those here. Additionally, we fix the virtualenv to properly use the site-packages on the host if a library is not available in the venv. Change-Id: Ib84d48e8826bb96060338b3fa0782620c98794a8 Related-Bug: #1524684 Closes-Bug: #1529434
2015-12-22Convert to pymysqlSamYaple1-2/+2
Closes-Bug: #1528432 Change-Id: I6e56f283521b29678964cb655ac3cff2d13b8246
2015-12-15Fix MySQL-python build on CentosMartin André1-1/+2
The build of MySQL-python started to fail after the update to Percona-Server-devel-56-5.6.27-rel76.0.el7.x86_64 with: /usr/bin/ld: cannot find -lmysqlclient It appears Percona-Server-devel package provides a broken /usr/lib64/libmysqlclient.so that points to nonexistent libmysqlclient.so.18. Fix the build by installing MariaDB-shared package from the mariadb repo that contains the missing file. Change-Id: Ia95fddfe44f54bd355c6f3d0ac895fdc05cecff9 Closes-Bug: #1526129