kaniko
kaniko copied to clipboard
coredump in kaniko,but suceessfule in docker build
Sementation fault (core dump) faild to execute command: waiting for process to exit: exit status 139
it a python script that run successfully already,then coredump
it had update a /lib/x86_64-linux-gnu/libtinfo.so.6.2
@SuperLight-007 can you provide a repro Dockerfile for the case that caused this with kaniko? Thanks!
on kaniko v1.12.0-debug i'm consistently getting the same error on update-ca-certificates step:
FROM alpine:20220715
RUN mkdir -p /usr/local/share/ca-certificates/
COPY bundle.cer /usr/local/share/ca-certificates/bundle.cer
RUN cat /usr/local/share/ca-certificates/bundle.cer >> /etc/ssl/certs/ca-certificates.crt && apk update && apk add ca-certificates bind-tools bash
RUN update-ca-certificates
error:
error building image: error building stage: failed to execute command: waiting for process to exit: signal: segmentation fault (core dumped)
note that when i tried in February this year with earlier kaniko v1.9.1-slim it worked
@tooptoop4 thanks for the information, can you verify if kaniko v1.9.1-debug
also works? I'm trying to understand if this is a regression with kaniko some time after kaniko-v1.9.1
or something that only does not occurs with -slim
(vs -debug
). Thanks
I kept kaniko 1.12-debug and just changed alpine to 3.16.6, it worked