kolla/docker/base
Michal Arbet 11f65c6c1d Add mechanism for patching files in containers
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-11-15 08:04:30 +00:00
..
apt_preferences get 'apt_*' options of kolla-build.conf working again 2019-10-17 03:39:40 -07:00
apt_preferences.debian Move apt_prefs pins to respective images 2024-04-16 18:43:18 +00:00
apt_preferences.ubuntu Move apt_prefs pins to respective images 2024-04-16 18:43:18 +00:00
ci-centos.repo CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Dalmatian) 2024-10-24 13:45:49 +00:00
ci-rocky.repo CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Dalmatian) 2024-10-24 13:45:49 +00:00
copr-rabbitmq-erlang.repo aarch64: fix name of rabbitmq copr repo 2024-10-03 11:26:57 +00:00
copy_cacerts.sh drop leftovers of RHEL support 2021-07-28 16:04:21 +00:00
curlrc base: make curl retry on all errors 2023-03-20 09:19:06 +00:00
dnf.conf Add missing newline at end of file 2023-11-13 13:41:20 +01:00
Dockerfile.j2 Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
dpkg_reducing_disk_footprint Reducing disk footprint for Ubuntu/Debian images 2016-08-05 15:52:46 +02:00
grafana.repo grafana: update urls 2023-02-01 08:42:35 +00:00
healthcheck_curl Fix disabling of curlrc in healthcheck_curl 2022-03-31 12:24:04 +02:00
healthcheck_filemod Build images with healthcheck scripts for core services 2019-12-09 12:57:10 +00:00
healthcheck_listen Build images with healthcheck scripts for core services 2019-12-09 12:57:10 +00:00
healthcheck_port Build images with healthcheck scripts for core services 2019-12-09 12:57:10 +00:00
healthcheck_socket Build images with healthcheck scripts for core services 2019-12-09 12:57:10 +00:00
httpd_setup.sh Configure Apache services to use correct locale 2024-08-12 09:55:35 +00:00
influxdb.repo influxdb: Update gpg key 2023-01-30 13:10:27 +00:00
install_projects.sh Refactor dev mode 2024-09-04 06:37:09 +00:00
kolla_bashrc Remove unecessary blank lines 2016-05-02 07:44:29 -04:00
kolla_patch.sh Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
mariadb.repo mariadb: Bump to current LTS (10.11) 2023-06-26 08:48:14 +00:00
opensearch.repo opensearch: move to yum/apt repos 2023-04-25 11:38:49 +02:00
proxysql.repo Bump proxysql to 2.7.x 2024-10-01 17:43:26 +02:00
rabbitmq_rabbitmq-erlang.repo rabbitmq: Switch to Cloudsmith mirrors 2024-09-12 15:09:56 +00:00
rabbitmq_rabbitmq-server.repo rabbitmq: Switch to Cloudsmith mirrors 2024-09-12 15:09:56 +00:00
set_configs.py Fix handling configs in base image 2024-11-06 17:37:31 +01:00
sources.list get 'apt_*' options of kolla-build.conf working again 2019-10-17 03:39:40 -07:00
sources.list.debian Move to Debian 12 'bookworm' 2023-08-18 06:48:11 +00:00
sources.list.ubuntu Switch to Ubuntu 24.04 LTS 2024-09-30 23:13:43 +02:00
sources.list.ubuntu.aarch64 Switch to Ubuntu 24.04 LTS 2024-09-30 23:13:43 +02:00
start.sh dev-mode: Run kolla_install_projects using sudo 2024-09-26 13:40:32 +02:00
sudoers dev-mode: Run kolla_install_projects using sudo 2024-09-26 13:40:32 +02:00
td.repo bump td-agent lts from v4 to v5 2023-11-30 07:07:31 +00:00