aboutsummaryrefslogtreecommitdiff
path: root/docker/base/Dockerfile.j2
AgeCommit message (Collapse)AuthorFilesLines
2016-12-20Removed percona from ubuntu reposSam Yaple1-7/+11
16.04 provides the percona-xtrabackup scripts in the main repos, so the specific percona repo can be removed. Unfortunately, mariadb10.0 does not build with galera built-in. So until ubuntu packages mariadb10.1, we will be dependant on the external repos for mariadb with galera built in. Labels keys so they are easily identified in the future. In Jinja2 the comments cannot go inline while generating the list. Change-Id: I5e6c2f884c8d59bbc574b71ac731d1b4db18b68c
2016-12-20Readability improvement to base imageChao Guo1-13/+33
Improve the dockerfile readability, eliminate some long lines. Change-Id: Ia8fc3478950855e1867dd30fa2fc47b8e3df22f8
2016-11-22Update Percona repo to current releaseportdirect1-1/+1
The Percona Repo was updated on the 14th November to version 0.1-4 this commit updates rpm based builds to reflect that change. Closes-Bug: #1643867 Change-Id: I5787943bb2bc11408ca8e8cdd6d1997cbc8919f1
2016-11-06remove override_install_langs option in /etc/yum.confjiangpch1-1/+2
Closes-Bug: #1637803 Change-Id: I5c22b76379b1dce1673124ac8b46b894449405a5
2016-11-03Remove Fedora supportChristian Berendt1-16/+3
Closes-bug: #1616387 Change-Id: Id97f88b9baa3d48d33ce120962450a374282d044
2016-11-02Merge "Revert "Move RDO to Newton branches""Jenkins1-4/+1
2016-11-02Revert "Move RDO to Newton branches"Steven Dake1-4/+1
Revert note: Get RDO back on master instead of the newton branch This reverts commit aeb86de6fc644a514d060b4ac869cab364266f03. Change-Id: I765ba60c3bd09fe3978570b7921a084c9b90c7d0
2016-10-19Add blocks to customize RHEL package installationAndrew Widdersheim1-0/+2
Add blocks to the base Docker image that allows the operator to override the base RHEL package installation. TrivialFix Change-Id: If570975e1f57ef9820544174dacc3f13d09bb215
2016-10-18Fix mariadb build issueMichal (inc0) Jastrzebski1-0/+1
Change-Id: I12cb9a000f2d90007c1ea55d1ca12ede28c35d6f Closes-Bug: #1634680
2016-10-16Remove ceph repo for Ubuntu installJeffrey Zhang1-2/+0
Ubuntu cloud archive provides ceph jewel now. Remove ceph official repo for the wrong dependency when installing ceph. Change-Id: I5be6b18c4250733ed9ab4f526fcdc45eb84f8342 Closes-Bug: #1633888
2016-10-07Move RDO to Newton branchesSteven Dake1-1/+4
RDO Newton is available. Lets use it and test with it this final week. TrivialFix Change-Id: I2a761366da7c2cf209adaceb73ac7fa9c9aa3cba
2016-09-22Merge "Fix permission for /var/log/kolla folder"Jenkins1-0/+3
2016-09-22Fix permission for /var/log/kolla folderJeffrey Zhang1-0/+3
Docker will change the name volume folder permission to image already set. /var/log/kolla is not created and well configured in image. This patch set creates and configures proper permission /var/log/kolla in base image. This patch set also fixed the ceph image by adding ceph user to kolla group. TrivialFix Change-Id: Ib5ef0187e90de2699b3cda31e819b4babb07e0af
2016-09-21Merge "Fix base CentOS repository keys"Jenkins1-2/+1
2016-09-20Fix base CentOS repository keysJiri Stransky1-2/+1
Fix typo in variable name ("yup" instead of "yum"), which means we now import the repo keys we intended to. Furthermore we no longer try to import EPEL key in that very spot, as it should be imported after epel-release is installed, which already happens later during the base image build. CentOS/EPEL keys in the image before this patch: ()[root@6843e7e136cf ~]# rpm -q gpg-pubkey --qf '%{summary}\n' | grep -i -E '(centos)|(epel)' gpg(CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>) gpg(Fedora EPEL (7) <epel@fedoraproject.org>) With this patch: ()[root@64a6ae7d0347 ~]# rpm -q gpg-pubkey --qf '%{summary}\n' | grep -i -E '(centos)|(epel)' gpg(CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>) gpg(CentOS Storage SIG (http://wiki.centos.org/SpecialInterestGroup/Storage) <security@centos.org>) gpg(CentOS Virtualization SIG (http://wiki.centos.org/SpecialInterestGroup/Virtualization) <security@centos.org>) gpg(Fedora EPEL (7) <epel@fedoraproject.org>) Change-Id: I5cd22a887282e5de199a809b0798a439ce1a99e7 Closes-Bug: #1625585
2016-09-19Update EPEL version in baseAndrew Widdersheim1-2/+2
Update to epel-release 7-6. Also, move from HTTPS to HTTP in the RHEL builds to match what is happening in Oracle Linux. Seems as though HTTPS does not work any longer. TrivialFix Change-Id: Icc457a333acdd5cc5b1e124d4308c4af1eb8d2cc
2016-09-13Merge "Install apt-utils in Ubuntu base image"Jenkins1-0/+1
2016-09-13Add missing apt-get clean in Ubuntu base imageChristian Berendt1-1/+3
TrivialFix Change-Id: Ibd4ba9dbe2cadb304e027b60d5b7378416719d12
2016-09-13Install apt-utils in Ubuntu base imageChristian Berendt1-0/+1
Change-Id: I5b96dc0e8debd718bb61b3bd9c1c2028af004a1c Closes-bug: #1622777
2016-09-12Added grafana containerMathias Ewald1-2/+7
Added grafana repository to base image Co-Authored-By: zhubingbing <zhubingbing10@gmail.com> Installed grafana from repository Change-Id: Ib99195ec4522f185f6fd4cebf10e305bb58f69c4 Partially-Implements: Blueprint performance-monitoring
2016-09-09Change ceph version to JewelMichal (inc0) Jastrzebski1-11/+3
This patch changes version of ceph from hammer to jewel. Also removed versionlock as it seems we don't use it in ubuntu, and actually might be risky if we miss security patch on ceph. Change-Id: Ib8f88c2f914a4b635e59a509fa0194605eb73165 Implements: blueprint upgrade-ceph-to-jewel
2016-09-01add iproute package in base image.Kevin Fox1-0/+3
This patch makes the ip tool available. Kolla-Kubernetes needs it to figure out what ip addresses are associated with the running containers as they are not known before hand. TrivialFix Change-Id: I4713bb9db471463dedeb4984a55dd86e903ef65b
2016-08-31Merge "Allow operators to override versionlock for redhat in base"Jenkins1-0/+2
2016-08-31Merge "Use dumb-init to manage the pid 1 process"Jenkins1-1/+3
2016-08-31Allow operators to override versionlock for redhat in basePaul Bourke1-0/+2
TrivialFix Change-Id: Iedec701e76cdf4e336abeae1286ba6359fcfeba1
2016-08-31Add a block around oraclelinux base package installPaul Bourke1-0/+2
Allow operators to customise the base package setup for oraclelinux in base, similar to Ubuntu (block base_ubuntu_package_installation) TrivialFix Change-Id: I9c790bd4f195492dc9d666cf865a7f142cfb1abe
2016-08-29Customization for baseMichal (inc0) Jastrzebski1-49/+63
Customizations for base, all in same patch Change-Id: I310a2f51ece8dfe2a159c40407b5bdb77f7ee021 Partially-implements: blueprint third-party-plugin-support
2016-08-20Use dumb-init to manage the pid 1 processJeffrey Zhang1-1/+3
Normally, when you launch a Docker container, the process you're executing becomes PID 1, giving it the quirks and responsibilities that come with being the init system for the container. There are two common issues this presents: * In most cases, signals won't be handled properly. * Orphaned zombie processes aren't properly reaped. the dumb-init acting like a simple init system. It launches a single process and then proxies all received signals to a session rooted at that child process. Closes-Bug: #1614509 Change-Id: I9d3d04648e151ddc7c6732b92ffd3b6c9fe467ec
2016-08-20Pin to Ubuntu 16.04Jeffrey Zhang1-1/+3
Upgrade Ubuntu base image to Xenial Closes-Bug: #1593599 Change-Id: I5832a729a9a4fa73c02442047c92ba088ce20db3
2016-08-05Reducing disk footprint for Ubuntu/Debian imagesChristian Berendt1-0/+3
Only install English locales and do not install documentation. http://wiki.ubuntu.com/ReducingDiskFootprint Change-Id: I129cd7cc8777112acb751c600feb8900c0c2a461
2016-07-29Added telegraf containerMathias Ewald1-1/+7
Extended base container to include influxdb repositories Added telegraf container with package from influxdb repo Change-Id: I6ccf952d7b42eabe8ff7bdbd6471e395db86aa02 Partially-Implements: Blueprint performance-monitoring
2016-07-22Ensure apt-transport-https is available.Stephen Hindle1-1/+3
apt-transport-https needs to be installed in the base container BEFORE we add the new sources.list TrivialFix Change-Id: If4a6042f02c9b6e6475c211dc02a302cb6352d7c
2016-07-05Merge "Use the disk size as the osd weight when osd_initial_weight is auto"Jenkins1-0/+1
2016-06-29Use the disk size as the osd weight when osd_initial_weight is autoJeffrey Zhang1-0/+1
In most of case, the disks used by ceph have different size. Use the default value 1 may block the ceph when one disk is full. Use the disk size as osd weight will more reasonally. TrivialFix Change-Id: Ib875c7289188cbb9380355baf0c8048f1eb09332
2016-06-29Cleanup RUN commands in base DockerfileChristian Berendt1-24/+15
This will merge several RUN statements into one RUN statement to reduce the number of the layers of the base Docker image. TrivialFix Change-Id: I69b00b2e7fa7717923f0fe364c5be9b38a2dbb90
2016-06-21Add customizations for apt keys and packagesMichal (inc0) Jastrzebski1-13/+16
To customize apt packages, you need to do something like that in override file: {% set base_apt_packages = base_apt_packages + ['vim', 'emacs'] %} Change-Id: I7913ed405c2cb7e33f1cfe310d651030e0700e6b Partially-implements: blueprint third-party-plugin-support
2016-06-04Make container dind unpin old docker relaseBenedikt Trefzer1-0/+1
- remove pinning to old docker version in ubuntu - move docker ubuntu repository to base image Change-Id: If05ccc0c5b3e89725acea3b603b5ef7acbbee649 Partially-implements: blueprint build-debian
2016-06-03Merge "Use debian repos for debian base docker image"Jenkins1-19/+45
2016-06-03Use debian repos for debian base docker imageBenedikt Trefzer1-19/+45
Change-Id: Ic5c1d20fa9f7f1cd9fd20e658b4bd1abb235f3b6 Partially-implements: blueprint build-debian
2016-06-02add curlrc file to base imageBenedikt Trefzer1-0/+1
The curlrc file for root allows better output control for curl downloads during build process. Closes-Bug: #1567926 Change-Id: I19b526e4eab223d2456f4bbc2f4ba50192ec0901
2016-05-31Pin the base distro release versionJeffrey Zhang1-0/+6
Pin the base distro release version in the master branch(Newton). Only one distro version is supported. The supported versions are: * CentOS: 7 * RedHat: 7 * OracleLinux: 7 * Debian: 8 * Ubuntu: 14.04 NOTE: Kolla will move to Ubuntu 16.04 in the Newton cycle DocImpact TrivialFix Change-Id: I32c0edbee4de14c8a0cc7c961d566e84d70f19a4
2016-05-26Merge "Update ubuntu dockerfiles for formatting"Jenkins1-1/+1
2016-05-26Update ubuntu dockerfiles for formattingSwapnil Kulkarni (coolsvap)1-1/+1
Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug: #1569417
2016-05-16Fix build for oraclelinux basePaul Bourke1-1/+2
centos-release-openstack-mitaka 1.3 is now available via the delorean-mitaka-testing repo. We need to install this directly instead of the 1.2 version as otherwise the subsequent 'yum update' tries to install it and fails on the centos-release dependency which is incompatible with the oraclelinux base. Closes-Bug: 1576238 Change-Id: I51cb372424b27b32e95f9e81c5dddbe8e49a6131
2016-05-09Support a custom base imageJeffrey Zhang1-1/+1
Add a new option(base-image) to support custom base image In default, the base-image is equal to base. When using custom image, please use command line like: ./tool/build.py --base-image my-image --base centos --base-tag 0.1 DocImpact Closes-Bug: #1573544 Change-Id: If4b9c57a2b68f6f06d3e981f30b2173064e02193
2016-05-03Merge "Remove unecessary blank lines"Jenkins1-2/+0
2016-05-02Remove dependencies on kazoo and friendsSteven Dake1-9/+0
Since kolla-mesos has been retired, there is no need in the code base to keep the zookeeper implementation. As a result, just remove it. If we were to keep it we need virtualenvs for that part of the code base which installs the python dependencies related to it for from-binary installs. This just simplifies the implementation tremendously and culls dead code. Change-Id: Ieda226e652d67f5b5667112f4f2556f3171366d3 Closes-Bug: #1577194
2016-05-02Remove unecessary blank linesMauricio Lima1-2/+0
TrivialFix Change-Id: I1f03d428c380dfdbde5ef33e7ea43cbf5e9154ce
2016-04-15Update base dockerfile for formattingSwapnil Kulkarni (coolsvap)1-17/+21
Change-Id: I3ff33a5f4e0359eefd997e8c0a2305d815c52486 Partial-Bug:#1569417
2016-04-14Use proper CentOS repositories for ceph and qemuSteven Dake1-7/+21
CentOS has a virtualization sig and storage sig which produces udpated ceph and qemu images. These images are then reused within the rest of Red Hat packaging. Install these repositories for CentOS and make use of them. This should work for OracleLinux as well. Still testing centos. Co-Authored-By: Vikram Hosakote <vhosakot@cisco.com> Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: Iea21fc4f33bbfdb973cf354d492c372bd3360acb Closes-Bug: #1566588