Open wswfc opened 4 years ago
@wswfc from the logs looks like there is some log lines. Do you expect to see more lines after this?
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Hi @tejal29 ,
These log lines are printed by "apt-get install". In normal scenarios (using docker build or running the executor manually in the debug image shell) they are, and should be, displayed once (meaning the runit package is installed and configured successfully) and then the image is built without error.
In the failed case (using kaniko executor image to build) , these lines are never printed and no image is built. It seems the executor just quit while "apt-get install" is configuring the runit package.
Actual behavior executor quit without any hint when doing "RUN apt-get install -y runit"
Expected behavior executor should finish the build without error
To Reproduce Steps to reproduce the behavior:
Use a Dockerfile with the following content:
Use docker to run the container:
The kaniko executor container will quit at:
Additional Information
What is weird is if I use the debug image and sh into the kaniko container, and launch the executor manually, the executor finished without any error. The last lines are:
Triage Notes for the Maintainers
--cache
flag