-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to skopeo copy from multi platform oci-archive to registry. #2463
Comments
Thanks for reaching out. Can you paste the full contents of the The |
index.json from {
"schemaVersion": 2,
"mediaType": "application/vnd.oci.image.index.v1+json",
"manifests": [
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 755,
"digest": "sha256:7e3d4631e9c027d3eb5083b1d261a40235caf7470565d08a741e4072e048fa85",
"platform": {
"architecture": "amd64",
"os": "linux"
}
},
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 755,
"digest": "sha256:4c58342e4e45fe40e4a51112d497b92fc5af9853af0af2fd4457fbb59d263938",
"platform": {
"architecture": "arm64",
"os": "linux"
}
}
]
} |
not working yet, but never will, or not now but maybe? |
If I am presented with an oci archive from a build, do you have any suggestions on how to get it running on macOS? tl;dr: my root issue is I am unable to run this oci archive with And one way is to skopeo copy to remote registry in a way that will allow |
“not now but maybe”. How was that OCI archive created? Is that some widely-available software? In general I’d strongly recommend using registries over plain-file archives: using registries means that the redundant/unchanged layers, incl. all of the base image, can be reused instead of copied every single time. |
For the record, yes, this is the case here. |
from This dockerfile essentially.
A customized CNCF Buildpacks essentially. blogpost about paketo buildpacks I would not claim to know the details of how buildpacks work.. but I am trying to fix false positive CVE and testing if the scanners no longer report false positive. |
not my choice, it's not meant to be used this way tho. these archive would eventually push to https://hub.docker.com/r/paketobuildpacks/run |
Seems like oci archive is required by jam CLI, which they used in the script. I think it's not going be an easy suggestion to purely rely on registries. |
paketobuildpacks are part of the linux foundation with over 10M docker pulls on the run image alone. https://hub.docker.com/search?q=paketobuildpacks shows other more popular buildpacks one of which has over 50M pulls So I hope that it's considered widely-available software |
Looks like |
Originally posted by @kaovilai in #1136
The text was updated successfully, but these errors were encountered: