aboutsummaryrefslogtreecommitdiff
path: root/docker/base/Dockerfile.j2
AgeCommit message (Collapse)AuthorFilesLines
2023-10-05Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean"Michal Nasiadka1-2/+14
This reverts commit 881e3925c7aa8c3bbe6897ea8790f109dc0a7fb8. Reason for revert: switch back to master, to be followed by switch to bobcat when available Change-Id: Ib8fdad41a669fc8404b8de2de5361db9547c4ea2
2023-09-29rabbitmq: use launchpad as erlang source for UbuntuMichal Nasiadka1-6/+1
Launchpad is not traffic constrained, so let's better use that, instead of the community mirror. Change-Id: Ie9e0f574c8e3a61e67736caa3faedb8602a5adde
2023-09-29rabbitmq: Use novemberain repos for Debian/UbuntuMichal Nasiadka1-1/+6
CloudSmith is over budget, see [1]. As mentionedin in [2] - we're using amd64 packages on aarch64, since the community mirror does not mirror aarch64 - and the packages should be really marked as noarch. [1]: https://github.com/rabbitmq/rabbitmq-server/discussions/9526 [2]: https://github.com/rabbitmq/rabbitmq-server/discussions/9553 Closes-Bug: #2037469 Change-Id: I83179ce5d53fed6cfe7f5fcbf6fdecd7199baa36
2023-09-11remove unused crmsh EL7 repoSven Kieske1-2/+0
Change-Id: I1967202e23405ad713fd0d54337754d46566156d Signed-off-by: Sven Kieske <kieske@osism.tech>
2023-08-18Move to Debian 12 'bookworm'Marcin Juszkiewicz1-1/+1
We move to use some components from distribution instead of 3rdparty repos. At least for now - this may/will change later. Packages from Debian: - Erlang 25.2 - MariaDB 10.11 Some Ubuntu/jammy repositories are used in places where there is not (yet) Debian/bookworm one. openvswitch-netcontrold image fails as it needs to be converted to use virtualenv - added into unbuildable images for now. See https://etherpad.opendev.org/p/kolla-bobcat-ptg#L199 for more information. Depends-On: https://review.opendev.org/891946 Change-Id: I45b5a5980fb2318f1aab23a3a6aaf0922563b171
2023-06-28base: Debian 12 uses new APT sources fileMarcin Juszkiewicz1-0/+1
For start we will use same APT sources.list format as we used in past (and use with Ubuntu). But we need to remove what is in container to make sure that CI jobs would use mirror only. Change-Id: I82dd0e8667e44250d2892538819c12e6c775618b
2023-06-28base: install adduser on Debian/UbuntuMarcin Juszkiewicz1-10/+11
Debian:bookworm container does not have 'adduser' installed so we need to do it before we touch /etc/adduser.conf file. In Bookworm configuration file for adduser changed. Change-Id: Ic06f3c0e42fb7854e5b198c9b868f10cd507cd24
2023-06-21Merge "rabbitmq: use erlang-25 ppa on Debian/Ubuntu"Zuul1-1/+1
2023-06-21rabbitmq: use erlang-25 ppa on Debian/UbuntuMichal Nasiadka1-1/+1
RMQ team is now maintaining erlang-24, erlang-25 ppas, see [1]. [1]: https://github.com/rabbitmq/erlang-debian-package/discussions/33 Change-Id: I7e289bd5ce52319604717e0b319d0642a8e598db
2023-06-20Bump proxysql versionMichal Arbet1-1/+1
This patch bumps proxysql 2.4.x to 2.5.x Change-Id: I6a67910965e38b53958fc6f8546fa6f665a47a16
2023-06-14Fix rabbitmq image buildMichal Arbet1-1/+1
This patch is replacing ppa.launchpadcontent.net by ppa1.novemberain.com. Reason for replacement is that only latest erlang version is available on the current ppa source. Setting Debian ARM jobs non voting for now, since the new ppa does not contain arm64 packages. This repo is based on the official Erlang/OTP package for Debian. The RabbitMQ team adapted the upstream package to produce packages for more/different combinations of Erlang/OTP, Debian and Ubuntu releases. Change-Id: Iddec6ec555f98e13c2f199e5ca7dad7f4819b1a8
2023-05-17CentOS/Rocky: use CentOS Cloud SIG repo instead of DeloreanMichal Nasiadka1-14/+2
Antelope was released, landed in CentOS repo, time to use it. Change-Id: I9fa8fd5dd9b75251363f1957d1e249e7cb4beb84
2023-04-25opensearch: move to yum/apt reposMichal Nasiadka1-0/+4
systemd-tmpfiles is needed otherwise opensearch postinst on Debian/Ubuntu fails Change-Id: I5aeb5796f8de7697a1c4a7404fe292ef9eb522ee
2023-03-28Replace invisible unicode charsPiotr Parczewski1-2/+2
They're believed to have no special meaning and were put by accident. TrivialFix Change-Id: I66ea5711810ed0060cf89192a780bfcc92e79770
2023-02-01grafana: update urlsMichal Nasiadka1-1/+1
As per [1]. [1]: https://packages.grafana.com Change-Id: I7087bafffc56b6e660ec77ebeadb9132525697bb
2023-01-30influxdb: Update gpg keyMichal Nasiadka1-1/+1
Influx repo gpg key has been rotated as of of 2023-01-26 [1]. [1]: https://www.influxdata.com/blog/linux-package-signing-key-rotation/ Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/871821 Change-Id: I76b35bb20ddc0130ca15ff03942e1a97f5d36ff0
2023-01-25Add util-linux to centos base packagesMichal Nasiadka1-9/+10
Currently /usr/sbin/nologin is missing, because util-linux is not installed in the image. Change-Id: I717b4f2215054ef9135a1ac252ed26820bdcb1aa
2023-01-18grafana: remove SHA1 workaroundMichal Nasiadka1-4/+0
Change-Id: I08fe2827bc58baa95d396daf28de1079e3df4f77
2023-01-02CentOS: move gpg keys to repo filesMarcin Juszkiewicz1-4/+0
Definition of 3rdparty repo can contain also url to gnupg key used to sign files there. DNF knows how to handle that so we do not need to import keys in base image anymore. Functionality stays as people may use own repos with own keys. Change-Id: I88e8e86ca35ee1b6b6b5551c3ca8698f0ed814cb
2022-12-06Drop elasticsearch, kibana and logstashMichal Nasiadka1-6/+0
Support has been dropped in kolla-ansible, the upgrade path is opensearch. Change-Id: I6f32aacb4e0b7dd1eb7206e02425b16f5beae4f0
2022-10-18Merge "rabbitmq/aarch64: use COPR for Erlang"Zuul1-6/+1
2022-10-18rabbitmq/aarch64: use COPR for ErlangMarcin Juszkiewicz1-6/+1
RabbitMQ team maintains RPM package in Github repo [1]. Hrw then use it to build package using COPR service [2]. This way we have latest Erlang on both distributions and both architectures. 1. https://github.com/rabbitmq/erlang-rpm/ 2. https://copr.fedorainfracloud.org/coprs/hrw/erlang-for-rabbitmq/ Change-Id: I425ae2fab78e80ff56f21fd1b24708906ec32342
2022-10-14rabbitmq: use Erlang from PPA on Debian/UbuntuMarcin Juszkiewicz1-3/+3
PPA from Team RabbitMQ [1] provides newer Erlang for Debian/Ubuntu. This way we have latest Erlang on both distributions and both architectures. 1. https://launchpad.net/~rabbitmq/+archive/ubuntu/rabbitmq-erlang Change-Id: Iec7e8461f9eb757e1576cf3898068306c5436239
2022-10-03proxysql: Use almalinux for centos/rocky9Michal Nasiadka1-1/+1
As per https://github.com/sysown/proxysql/issues/3989 Change-Id: If077d60e9efd29fab80f4f5188a4f54015734a92
2022-09-30Add RockyLinux 9 supportMichal Nasiadka1-14/+5
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/859570 Change-Id: I7af51d07b8a939c908aa072294061def57dd67de
2022-09-28centos: use Erlang 24 on AArch64Marcin Juszkiewicz1-1/+3
We do not have Erlang 25 for CentOS Stream 9 on AArch64 so we revert to use Erlang 24 from CentOS repository. Also synced Erlang and RabbitMQ versions between images. Change-Id: I1480de095eaea66c3a83a61ca3ff269953181e39
2022-09-27Merge "Don't ignore the remaining apt-get update errors"Zuul1-1/+1
2022-09-27Don't ignore the remaining apt-get update errorsRadosław Piliszek1-1/+1
Follow-up to I5ce2eb66a647e1805f086aa37942bf5d13eb4106 So far, I have only observed these causing weird errors later but, in theory, ignoring these could allow the rest of the code to use archival (so wrong) entries. Change-Id: I9cef5ceeb78d431ca232c7b196c48eef5d2ccbca
2022-09-27grafana: ignore SHA1 gpg key on CentOS Stream 9 (and family)Marcin Juszkiewicz1-1/+1
RHEL 9 refuses to use SHA1 gpg keys. Grafana team still did not handled key upgrade: https://github.com/grafana/grafana/issues/41036 Change-Id: Id963271103ce1397b7a5498d032e8f797edfcc70
2022-09-27Move to CentOS Stream 9Marcin Juszkiewicz1-18/+33
OpenStack 'zed' requires Python 3.8+ so RHEL 8 family has to go. This changeset moves to CentOS Stream 9 while move to RockyLinux 9 is planned as final solution. CI moved to CentOS Stream 9 nodes. Depends-on: https://review.opendev.org/c/openstack/kolla-ansible/+/839715 Change-Id: I113b9984294cf8663d3fc0c8840320e1d40ea731
2022-09-01Debian: use OpenStack Zed reposMarcin Juszkiewicz1-1/+1
With source base images we use small amount of packages from there. Some Python/JS updates and novnc/spice stuff. Change-Id: I41d8d3ae0e43ba7b54b126e076134f13dcab7859
2022-08-31Merge "Revert "Workaround setuptools==60.0.0 breakages""Zuul1-3/+0
2022-07-21Update ProxySQL to version 2.4Michal Arbet1-2/+2
This patch is updating ProxySQL from version 2.3 to version 2.4, which has several new features and bugfixes. Change-Id: I625f72aac591aee8b1efe51f0b4a9e7660e6dbdc
2022-05-29Use the new image naming scheme by defaultRadosław Piliszek1-2/+2
Adds a relevant reno to inform users about the change and the possibility to customise the prefix. Additionally, this patch includes the fix to Ubuntu image builds regarding rabbitmq and erlang. Both the changes are required to fix master CI. Change-Id: I6bc8b489a810849744c8bead6b9e350c5d3e36b7 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/843752
2022-04-11Adjust permissions on _extend_start files.Tim Shearer1-1/+2
Explicitly set the permissions on the kolla-toolbox kolla_extend_start file. Also, since all extend_start files are sourced rather than executed, the executable bits are now cleared throughout the project. Change-Id: I5c2deb4a2e33575d57c852089f856a9acc6818d0
2022-03-11Unify curl use (customisation options)Maksim Malchuk1-0/+7
This change adds and unifies an ability to override hardcoded URLs for air-gapped environments via the usual blocks mechanism. Also, this change replaces ENV with ARG instruction for the variables used only in building images, and uses bash variable expansion where it possible. This change is a continuation of the I46b77978926fc2b578a68d1aaa944b2198af0685 Change-Id: I1fbad333b1bc95484e6f4c5145d5936a0e2db84f Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2022-03-07Debian: use Yoga OpenStack reposMarcin Juszkiewicz1-1/+1
Change-Id: I27910e25183a373d0d89ea6f9f4e30e118f21422
2022-02-05erlang: use packages from Erlang Solutions on AArch64Marcin Juszkiewicz1-2/+2
RabbitMQ requires Erlang 23+ and soon will bump to 24+. On AArch64 we used version 22 as there was no other option. Now it is. Change-Id: I667ccda5bb4edbfbfb97dfb0cea264837ed05cae
2022-01-04base: do not duplicate repo data on CentOSMarcin Juszkiewicz1-29/+16
Instead of listing all repositories twice, do it just once and then add architecture specific ones. Change-Id: Icf0675c17a5227643148e9956496b8eacec67bee
2021-12-28Fix variable nameMaksim Malchuk1-2/+2
TrivialFix The customization format of the variable name should contain the <image_name> [1]. This change fixes the name of the 'remote_apt_keys' variable in base Dockerfile. 1. https://docs.openstack.org/kolla/latest/admin/image-building.html#dockerfile-customisation Change-Id: I423db39e77f337a73d3d88e3dbd56469be45110b Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2021-12-21Merge "Add HTTP proxy support for fetching APT keys"Zuul1-2/+7
2021-12-21Revert "Workaround setuptools==60.0.0 breakages"Dr. Jens Harbott1-3/+0
This reverts commit b69c58971895a6ab8a23bcdc4b7b56d01f26e2f5. Reason for revert: The original commit was a hotfix to work around build failures, we should try to move back to a normal state again. Change-Id: Iff79de9dabcd4bba795f3c44d3017baa5a860306
2021-12-20Workaround setuptools==60.0.0 breakagesDr. Jens Harbott1-0/+3
Setuptools 60.0.0 is trying to use it's own distutils[0]. Once again. Use the workaround they propose until all pkgs we need have fixed their build processes. [0] https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6000 Signed-off-by: Dr. Jens Harbott <harbott@osism.tech> Change-Id: I112c0ea510aad80f28fc3f8a9f04cdf09c924b18
2021-12-08Add HTTP proxy support for fetching APT keysYang Youseok1-2/+7
In network isolated environments the only way to go outside is through HTTP proxy. Make use of it if set. Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Closes-Bug: #1850575 Change-Id: I2718884c4742cb81a3900e38fee62fbd27b472d7
2021-11-16CentOS: do not use advanced-virtualization repoMarcin Juszkiewicz1-4/+2
virt:rhel module provides libvirt 7.9.0 and we have it enabled Change-Id: Id585c7744ba130ad1dfc28138fb0f9e6eeae771d
2021-10-04Merge "Move all distros to upstream MariaDB 10.5"Zuul1-0/+4
2021-09-30Merge "Avoid the use of --force in groupadd"Zuul1-1/+1
2021-09-28Move all distros to upstream MariaDB 10.5Radosław Piliszek1-0/+4
Per meeting's agreement [1]. [1] https://meetings.opendev.org/meetings/kolla/2021/kolla.2021-09-22-15.01.log.html#l-71 Change-Id: If24c53b3b89eddfaf2cad39fb9e70cea0f770c96
2021-09-27Merge "Debian: use Xena binary packages"Zuul1-1/+1
2021-09-27Avoid the use of --force in groupaddRadosław Piliszek1-1/+1
According to the man page, --force may ignore --gid and this is not what we want. With our ID system it is almost impossible that we hit this issue but better be safe than sorry. ;-) Change-Id: I359982ddd144e07f8296b384638cf0b5331e495c