1

I've switched from docker-in-docker builds to kaniko builds in my build pipeline, and now the docker history results are messed up:

IMAGE          CREATED         CREATED BY                                      SIZE  

    COMMENT
dac3a6a7061e   292 years ago   RUN printf '\n/subsystem=datasources/data-so…   1.6kB
<missing>      292 years ago   RUN printf '\n/subsystem=datasources/data-so…   1.42kB
<missing>      292 years ago   RUN $JBOSS_HOME/bin/jboss-cli.sh --file="/op…   271kB

I'm building with /kaniko/executor without any specific flags, and displaying history with docker history.

What I'm doing wrong?

9ilsdx 9rvj 0lo
  • 7,955
  • 10
  • 38
  • 77
  • Not really sure, but maybe it is related with [reproducible flag](https://github.com/GoogleContainerTools/kaniko#--reproducible) – usuario Sep 01 '21 at 08:18
  • @usuario I'm not setting any flags except the necessary ones (pointing out Dockerfile and build context directory) – 9ilsdx 9rvj 0lo Sep 01 '21 at 08:23

0 Answers0