http://bugzilla.opensuse.org/show_bug.cgi?id=1136198 http://bugzilla.opensuse.org/show_bug.cgi?id=1136198#c4 --- Comment #4 from Sebastian Wagner <swagner@suse.com> --- (In reply to Fabian Vogt from comment #2)
(In reply to David Cassany from comment #1)
However, as it can be noted from the `docker history` commands copied in this issue, leap images include some more empty spurious entries with empty size and missing image. This happens because of the `umoci` tool being used, in Leap 15.1 there is umoci 0.3.1 which does not include some improvements regarding how history is being handled, however in tumbleweed there is umoci 0.4.4 which includes those history improvements and lets KIWI create nicer and cleaner history entries. Probably this is why <history> is not being included in leap 15.1 (Fabian? Any clue regarding that?).
In addition note that references from base image can be found in labels IIRC. There should be something like "org.opensuse.base.disturl=DISTURL_TO_BASE_IMAGE". The DISTURL parameter is a url pointing to the project that built the base image in OBS, note sure if this covers your needs.
Yes, the existing labels are best option. The history entry is (for now) just for convenience and doesn't carry any additional information.
Thanks for looking into this! I agree that this is mostly a convenience thing, nevertheless important as users may look into the history. Especially as it is so prominently documented in https://en.opensuse.org/Building_derived_containers -- You are receiving this mail because: You are on the CC list for the bug.