Skip to content

Kaniko Multi Stage Build Issue #3444

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

Open
isagargit opened this issue Apr 8, 2025 · 0 comments
Open

Kaniko Multi Stage Build Issue #3444

isagargit opened this issue Apr 8, 2025 · 0 comments

Comments

@isagargit
Copy link

we use kaniko to build docker images. in our current setup, we are to build an image using Kaniko and run commands after the executor. In case of a single stage, it works flawless.

But, when we are running a multi stage image build, the context of the image our image build is running on gets lost and we get a command not found error for the package that's installed on the container image.

please assist if there's a workaround for it. I have tried --cleanup=false & --cache=true, doesn't work.

found a similar kinda issue here: #3325

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant