-
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
Pip causes problems when installing package(s) in docker image if kaniko cache is activated. #1158
Comments
Hitting the same issue intermittently on most versions from 0.17.1 to 0.19.0 |
we are also experiencing this issue resulting in exactly the same behaviour in our pipelines.
are you saying that 0.16 is safe? |
@christianbeland i am able to reproduce this error at my end. Looking into it now,. |
@christianbeland , i tried your dockerfile on latest master.
The dockerfile i used is
|
@tejal29 I just tried and still have the issue. You may have to try the build twice. I noticed the first build often work. |
okay let me do that. Thanks for confirming so fast |
You should probably remove the 'fixed-needs-verfication' tag. |
I ran into same issue here and confirmed it's fixed on gcr.io/kaniko-project/executor:debug-edge. |
I tested gcr.io/kaniko-project/executor:debug-edge again this morning and still does not work. I get:
|
Has this been fixed or not? We currently use 1.6.0 but encounter the same issue. |
Facing a similar issue here. In my case if cache=true it throws the following error when I try to run
The docker image is based in If I set the attribute Any idea? Thanks! |
Well... I just solved it, I'm running different builds on the same container for different Dockerfile, and I was missing the |
Hello, Our Kaniko Version is 1.21.0-debug, execution via Gitlab CI/CD.
|
Found the source of that issue: The unsupported options are not failing the build, the files are not mounted and therefore Python can't install the wheel. |
With cache enabled I'm getting the following error thrown from poetry:
According to stack overflow this issue is resolvable by updating virtualenv package. Any idea whats going on here ? |
Pip causes problems when installing package(s) in docker image if kaniko cache is activated.
Actual behavior
I want to build following image:
Building using:
Causes:
The image gets pushed to the repository but I cannot pull it. I receive following error:
Expected behavior
If I comment out --cache=true and --cache-dir= from the kaniko build command, everything works fine. The build also works without problems using docker.
The text was updated successfully, but these errors were encountered: