aboutsummaryrefslogtreecommitdiff
path: root/docker/base/Dockerfile.j2
AgeCommit message (Collapse)AuthorFilesLines
2025-03-17debian: Use Dalmatian extrepo releaseMichal Nasiadka1-1/+1
Change-Id: I954106dc32b4c08604d5c40e00fe53e5bb18b266
2025-01-02Merge "Time mismatch in /etc/localtime and /etc/timezone"Zuul1-1/+3
2024-12-11Merge "Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean ↵Zuul1-2/+14
(Dalmatian)""
2024-12-09Time mismatch in /etc/localtime and /etc/timezonePiotr Milewski1-1/+3
Python3-pip installs the dependent package tzdata and blocks the mount of the /etc/localtime file in docker. After deleting the symbolic link docker correctly mounts the external localtime file. Applies only to ubuntu 24.04, in previous versions of ubuntu there was no such problem Closes-Bug: #2091161 Change-Id: I733a50b5ca455cfa4b248dc324500d78c17c817b
2024-11-29Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Dalmatian)"Michal Nasiadka1-2/+14
This reverts commit db0f87d3c8e1e7eccdeb1ea46216d530711680d3. Reason for revert: Epoxy cycle is on Change-Id: Ie2a747223b33039684650bede8863af0c8906d2f
2024-11-15Add mechanism for patching files in containersMichal Arbet1-3/+8
This patch adds a way to patch files in a Docker image built by Kolla. This is very useful for several reasons, specifically: - Custom modifications - The stable branch of some library has a fix but no pip package has been released - Eliminates the need to package your own pip packages - Eliminates the need to invent your own versioning to prevent upstream versioning - Eliminates the need to manage a pip server - In other words, it eliminates the need to get a wheel into the image and install it manually using any method not previously mentioned It is also highly desirable because, although Kolla can replace the source for a service with a custom URL for a tarball or its own Git repo, it cannot do this for dependencies pulled from pip. I would also like to point out that this is a feature with its own code path and works only if the user "inserts" a patch into the folder patches/docker-image/something.patch and creates an analogous series file for patch source code. Simply said, this code will never interfere with the upstream build process since this feature is not intended for use in upstream. It is rather meant for downstream users who know what they are doing. Now they just have an option to patch their images. Everything works on all layers of the Docker image and stores a report of applied patches which can then be seen in /etc. This mechanism is similar as debian patch quilt. Change-Id: I61d0790c5d4d070b7ea9e8c99c0a76ff5d22bf9d
2024-10-24CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Dalmatian)Michal Nasiadka1-14/+2
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/933312 Change-Id: I0ce9e907594fd160a08ad7929d5bc4bca9abf536
2024-10-07Merge "Bump proxysql to 2.7.x"Zuul1-1/+1
2024-10-02Merge "erlang/aarch64: Move to openstack-kolla owned COPR"Zuul1-1/+1
2024-10-02erlang/aarch64: Move to openstack-kolla owned COPRMichal Nasiadka1-1/+1
Change-Id: I219418411470bdeae9af84277f5150a623c05e69
2024-10-01Bump proxysql to 2.7.xMichal Arbet1-1/+1
This patch bump proxysql 2.6.x to 2.7.x Change-Id: I6e726d8ebf9dbc6d019dd72d6d0be9d9957a3f22
2024-09-30Added systemd-standalone-sysusers package for DebuntuMichal Arbet1-0/+1
This package provides a standalone sysusers binary with minimal dependencies, designed for use in non-systemd environments. This package simply ensures that all packages that want to install systemd as dependency will have to settle for this one because the systemd package breaks systemd-standalone-sysusers, as it is an alternative. [1] https://packages.debian.org/bookworm/systemd-standalone-sysusers [2] https://packages.ubuntu.com/noble/systemd-standalone-sysusers Change-Id: I3ba85069c265844bd2f8b5e6d2b14f32e4898cfd
2024-09-19Switch to Dynamic Python Version DetectionMichal Arbet1-1/+0
This commit removes the hardcoded KOLLA_DISTRO_PYTHON_VERSION and replaces it with dynamic Python version detection during container images build. Dockerfiles and scripts now use general python3 references, simplifying maintenance and ensuring compatibility with future Python versions. Test cases relying on distro_python_version were also cleaned up. Change-Id: I891749598247a5e951ed4a873b16acfd0566f59c
2024-09-04Refactor dev modeRoman Krček1-1/+5
Provides mechanism for future work to fix bug where when package file manifest changes, the changes were not reflected in to devmode-enabled container. It changes the strategy of installing projects in dev mode in containers. Instead of bind mounting the project's git repository to the venv of the container, the repository is bind mounted to /dev-mode/<project_name> from which the it is installed using pip on every startup of the container using kolla_install_projects script. Related-bug: #1814515 Change-Id: Ia1bdff87cba73587a03124ab78a56b21c6176373 Signed-off-by: Roman Krček <roman.krcek@tietoevry.com>
2024-05-06Debian: use caracal reposBartosz Bezak1-1/+1
Change-Id: Id1c028e0650c1fd3aa4c0a7b311a61b26057179c
2024-03-18Bump proxysql to 2.6.xMichal Arbet1-1/+1
This patch bump proxysql 2.5.x to 2.6.x Change-Id: I26e6c04ad0ba15ad4aa90f95259dc41cad439e73
2024-02-08ceph: Update EL9 version to Reef, adapt docsMichal Nasiadka1-1/+1
Change-Id: I736fcfd766a378783dbfe06ab8ac58858e84aba7
2024-01-03Merge "Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean ↵Zuul1-2/+14
(Bobcat)""
2023-12-20Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Bobcat)"Michal Nasiadka1-2/+14
This reverts commit 2ed66effa6e4a102919cb53a4b0737f852eb8674. Reason for revert: Let's use RDO trunk Change-Id: I3945fe5fd0aef2e12a7f6c60d714e69ea496083b
2023-11-22Update Ceph repo name for dnf config-manager commandPierre Riteau1-1/+1
Since change I1bc19f8198da3f9ab2ae2a8864c3349b21b0249e we install the centos-release-ceph-reef package as a dependency, but some code was still expecting the quincy package. Change-Id: I8ebcf815d80f3bead25e0078d69b34e17ad013bd
2023-11-09CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Bobcat)Michal Nasiadka1-14/+2
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/900536 Change-Id: I1bc19f8198da3f9ab2ae2a8864c3349b21b0249e
2023-10-24Merge "Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean""Zuul1-2/+14
2023-10-05Debian: Switch from antelope to bobcat APT repositoryMichal Arbet1-1/+1
Change-Id: Ife390597433fcededf15ecc09db626983e1b8cfd
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