-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Files from base not propagated to output container #1627
Comments
Hi @mlbiam, This just sounds like the base image
If the base does have the files, is it possible for us to download and examine |
The files are there:
Yes, it's a public repo |
The auth was a stale creds issue, sorry. Quay is still using the old manifest schema (Docker Image Manifest Version 2, Schema 1). Something seems not right when dealing with V2.1. I've checked that if you push the image to Docker Hub with V2.2, it works fine. For example,
and then using |
ugh. thought i had the workaround using skopeo to push the image but now i have an issue with pull too because of the old schem? Thats disappointing. Could I use skopeo to copy the container from the registry to a local tarball and have jib pull from that tarball instead? (I know, i'm reaching). I guess i can copy from the registry to dockerhub then use that as the base. Thanks for tracking that down! |
I've got to the bottom of it. A V2.1 manifest JSON lists layers in reverse order. The V2.2 doc says
So in V2.1 manifest, the first layer in the |
awesome and thanks! |
@mlbiam we released 1.1.1, which should fix this. |
confirmed, thanks for the quick fix (and great project)! |
Description of the issue:
Running
mvn compile jib:dockerBuild
on https://github.com/TremoloSecurity/OpenUnison/blob/1.0.17/unison/myvirtualdirectory-server/pom.xml generates an image missing/licenses/LICENSE
and/usr/local/myvd/bin/run_myvd.sh
even though both files exist in the original base image. Whats really odd is that when the base image is built off of ubuntu this works great, but when it's built off of red hat's universal base image it doesn't work.Expected behavior:
both files should be present
Steps to reproduce:
Does NOT Work:
Works:
Environment:
jib-maven-plugin
Configuration:The text was updated successfully, but these errors were encountered: