Multiple (tar) layers, same org.opencontainers.image.title? #1557
MichaelKopfMkf
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
are there any plans to support like multiple layers with same
org.opencontainers.image.title
?I've got some usecases where this would be enormous beneficial:
Given a directory and file structure (build output) with many files, I want to make use of several layers for good reuse within the registry.
Therefore I want to pick some (nested) files to combine for each (tar) layer. As there are thousands of files, I do not want to use a layer per file.
I want to create an Artifact with the following layers:
With oras-py I could write a client to build and use such an artifact by handling layers on my own but I could not consume it with oras cli as it does not allow pulling an artifact with same
org.opencontainers.image.title
in multiple layers.As layers have an order within a manifest, I think oras-go and the cli could support at least pulling such artifacts, as a deterministic behaviour can be ensured (higher layers can overwrite lowerlayers if there are any naming conflicts withn the archives).
What are your thoughts about it?
Beta Was this translation helpful? Give feedback.
All reactions