Thank Maksim,

Like the following example? For reference, can I pass commit hash? 

[keystone-base]

type = git

location = https://opendev.org/openstack/keystone

reference = stable/mitaka


On Wed, May 17, 2023 at 1:43 PM Maksim Malchuk <maksim.malchuk@gmail.com> wrote:
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@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? 



--
Regards,
Maksim Malchuk