[kolla] How to patch images during build

Maksim Malchuk maksim.malchuk at gmail.com
Wed May 17 17:43:42 UTC 2023


Hi Satish,

The correct way to apply bugfix is build the image from the git source.
Commit bugfix changes to the git, and build from the bugfix branch for
example.

On Wed, May 17, 2023 at 7:30 PM Satish Patel <satish.txt at gmail.com> wrote:

> Folks,
>
> I'm using kolla-build to build all images and push them to the local repo.
> So far all good but let's say If in future for some reason I want to patch
> some bug and rebuild the image in that case how do i patch kolla images?
>
> I am reading at [1] and didn't see any example to patch Image for any bug.
>
> Should I be downloading tarball and patch it and then use type=local to
> build the image from local source or add patch to Dockerfile? What people
> use for best practice for this kind of thing?
>
> [1] https://docs.openstack.org/kolla/latest/admin/image-building.html
>


-- 
Regards,
Maksim Malchuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230517/322bdafe/attachment.htm>


More information about the openstack-discuss mailing list