Replies: 4 comments 3 replies
-
This is not an issue, but a discussion. Don't really understand what you want to do here. But it sounds like you want to do some kind of gentoo type of container image? |
Beta Was this translation helpful? Give feedback.
-
I am not familiar with the background of a gentoo type of container image. Is there more detail on that to determine how similar it might be? |
Beta Was this translation helpful? Give feedback.
-
As I am aware of it, OCI artifacts do not have a limit to the number of layers that they can contain. The limit is from the file system as you mention. One of the use cases to leverage these images is just to
While these source containers might just be created for compliance requirements where dedicated inspection tooling can be created, integrating these many-layered images becomes harder if you do not want to rely on multiple cli tools. The specific use case that I am considering is having a single OCI artifact which contains all build sources for a container (git repo + resolved dependencies) which can then be used as a source to generate the container image binary in a reproducible manner. Since I wanted to be able to leverage a single CLI for leveraging a
I can use |
Beta Was this translation helpful? Give feedback.
-
Based on my discovery of being able to achieve this with buildah instead, I'll close this discussion. Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature request description
I would like to build images using source containers in order to improve usability. In this use case, I would clone the git repo and prefetch all dependencies, storing each item as its own layer in an OCI artifact (to improve data storage in the image registry). I would then like to reference this container in a Tekton task, mounting the image as a file system for a future build.
Suggest potential solution
If the remote image exceeds the supported layers, podman can intuitively pull the image down to the filesytem
Have you considered any alternatives?
An alternative would be to
skopeo copy
the image to a specific directory.Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions