[kolla] parent tags
Mark Goddard
mark at stackhpc.com
Thu Oct 7 08:41:55 UTC 2021
Hi Sam,
I don't generally do that, and Kolla isn't really set up to make it
easy. You could tag the base containers with the new tag:
docker pull <prefix>-base:wallaby
docker tag <prefix>-base:wallaby <prefix>-base:<git describe output>
Mark
On Thu, 7 Oct 2021 at 03:34, Sam Morrison <sorrison at gmail.com> wrote:
>
> I’m trying to be able to build a projects container without having to rebuild the parents which have different tags.
>
> The workflow I’m trying to achieve is:
>
> Build base and openstack-base with a tag of wallaby
>
> Build a container image for barbican with a tag of the version of barbican that is returned when doing `git describe`
> Build a container image for nova with a tag of the version of barbican that is returned when doing `git describe`
> etc.etc.
>
> I don’t seem to be able to do this without having to also build a new base and openstack-base with the same tag which is slow and also means a lot of disk space.
>
> Just wondering how other people do this sort of stuff?
> Any ideas?
>
> Thanks,
> Sam
>
>
>
More information about the openstack-discuss
mailing list