Open figureair opened 1 year ago
Thanks for filing the issue @figureair 🙏 , would you mind providing the inputs of which Kaniko version you are using and which context for this case?
Thanks for filing the issue @figureair 🙏 , would you mind providing the inputs of which Kaniko version you are using and which context for this case?
Thank you for the reminder. I have added more explanations, and at the same time, I have basically imitated the official example for building.
This issue seems to be related to the version of K8S. The original problem occurred in K8S version 1.12. However, when I use a newer version of Kubernetes, this issue does not occur.
Actual behavior I am trying to use Kaniko to build images on Kubernetes, but I am encountering some issues during the build process. When I try to install openjdk, it throws systemd-related exceptions, whereas the same build is successful with "docker build". Also, when I use Kaniko in the local Docker environment, the build works fine. I would like to know if this is related to Kubernetes and how to resolve such an issue.
Expected behavior Build successfully.
To Reproduce Steps to reproduce the behavior:
Additional Information
Kaniko Image (fully qualified with digest) using gcr.io/kaniko-project/executor:debug Triage Notes for the Maintainers
--cache
flag