kaniko: Regression on image built with kaniko between v0.16.0 and v0.17.1

Actual behavior A clear and concise description of what the bug is.

  • An image, based on redhat Universal Based Image 7, installing gcc, gcc-c++ and make with yum package manager, built with kaniko v0.16.0 is usable as a FROM in another kaniko build and allows to successfully build a new sub image.

  • An image, based on redhat Universal Based Image 7, installing gcc, gcc-c++ and make with yum package manager, built with kaniko v0.17.1 is usable as a FROM in another kaniko build but does not allows to successfully build a new sub image and throws the following error: error building image: error building stage: failed to get filesystem from image: removing whiteout .wh.dev: unlinkat //dev/pts/ptmx: operation not permitted

Expected behavior A clear and concise description of what you expected to happen. An image, based on redhat Universal Based Image 7, installing gcc, gcc-c++ and make with yum package manager, built with kaniko v0.17.1 is usable as a FROM in another kaniko build and allows to successfully build a new sub image.

To Reproduce Steps to reproduce the behavior:

  1. Build the image from the Dockerfile “build1” with gcr.io/kaniko-project/executor:debug-v0.16.0 docker run --rm --entrypoint "" -v /host/path/to/kaniko/config.json:/kaniko/.docker/config.json -v /host/path/to/dockerfile/directory/kaniko/20200207-001/build1:/workspace gcr.io/kaniko-project/executor:debug-v0.16.0 /kaniko/executor --context /workspace --dockerfile /workspace/Dockerfile --destination index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.16.0 output:
$ docker run --rm --entrypoint "" -v /host/path/to/kaniko/config.json:/kaniko/.docker/config.json -v /host/path/to/dockerfile/directory/kaniko/20200207-001/build1:/workspace gcr.io/kaniko-project/executor:debug-v0.16.0 /kaniko/executor --context /workspace --dockerfile /workspace/Dockerfile --destination index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.16.0
INFO[0001] Resolved base name registry.access.redhat.com/ubi7/ubi:7.7-214 to registry.access.redhat.com/ubi7/ubi:7.7-214
INFO[0001] Resolved base name registry.access.redhat.com/ubi7/ubi:7.7-214 to registry.access.redhat.com/ubi7/ubi:7.7-214
INFO[0001] Retrieving image manifest registry.access.redhat.com/ubi7/ubi:7.7-214
INFO[0004] Retrieving image manifest registry.access.redhat.com/ubi7/ubi:7.7-214
INFO[0006] Built cross stage deps: map[]
INFO[0006] Retrieving image manifest registry.access.redhat.com/ubi7/ubi:7.7-214
INFO[0007] Retrieving image manifest registry.access.redhat.com/ubi7/ubi:7.7-214
INFO[0009] Executing 0 build triggers
INFO[0009] Unpacking rootfs as cmd RUN yum --disableplugin=subscription-manager update -y     && yum --disableplugin=subscription-manager install -y         gcc-4.8.5-39.el7         gcc-c++-4.8.5-39.el7         make-3.82-24.el7     && yum --disableplugin=subscription-manager clean all requires it.
INFO[0024] Taking snapshot of full filesystem...
INFO[0025] RUN yum --disableplugin=subscription-manager update -y     && yum --disableplugin=subscription-manager install -y         gcc-4.8.5-39.el7         gcc-c++-4.8.5-39.el7         make-3.82-24.el7     && yum --disableplugin=subscription-manager clean all
INFO[0025] cmd: /bin/sh
INFO[0025] args: [-c yum --disableplugin=subscription-manager update -y     && yum --disableplugin=subscription-manager install -y         gcc-4.8.5-39.el7         gcc-c++-4.8.5-39.el7         make-3.82-24.el7     && yum --disableplugin=subscription-manager clean all]
Loaded plugins: ovl, product-id, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package binutils.x86_64 0:2.27-41.base.el7_7.1 will be updated
---> Package binutils.x86_64 0:2.27-41.base.el7_7.2 will be an update
---> Package curl.x86_64 0:7.29.0-54.el7_7.1 will be updated
---> Package curl.x86_64 0:7.29.0-54.el7_7.2 will be an update
---> Package libcurl.x86_64 0:7.29.0-54.el7_7.1 will be updated
---> Package libcurl.x86_64 0:7.29.0-54.el7_7.2 will be an update
---> Package nss.x86_64 0:3.44.0-4.el7 will be updated
---> Package nss.x86_64 0:3.44.0-7.el7_7 will be an update
---> Package nss-softokn.x86_64 0:3.44.0-5.el7 will be updated
---> Package nss-softokn.x86_64 0:3.44.0-8.el7_7 will be an update
---> Package nss-softokn-freebl.x86_64 0:3.44.0-5.el7 will be updated
---> Package nss-softokn-freebl.x86_64 0:3.44.0-8.el7_7 will be an update
---> Package nss-sysinit.x86_64 0:3.44.0-4.el7 will be updated
---> Package nss-sysinit.x86_64 0:3.44.0-7.el7_7 will be an update
---> Package nss-tools.x86_64 0:3.44.0-4.el7 will be updated
---> Package nss-tools.x86_64 0:3.44.0-7.el7_7 will be an update
---> Package nss-util.x86_64 0:3.44.0-3.el7 will be updated
---> Package nss-util.x86_64 0:3.44.0-4.el7_7 will be an update
---> Package sqlite.x86_64 0:3.7.17-8.el7 will be updated
---> Package sqlite.x86_64 0:3.7.17-8.el7_7.1 will be an update
---> Package systemd.x86_64 0:219-67.el7_7.2 will be updated
---> Package systemd.x86_64 0:219-67.el7_7.3 will be an update
---> Package systemd-libs.x86_64 0:219-67.el7_7.2 will be updated
---> Package systemd-libs.x86_64 0:219-67.el7_7.3 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch        Version                   Repository  Size
================================================================================
Updating:
 binutils                x86_64      2.27-41.base.el7_7.2      ubi-7      5.9 M
 curl                    x86_64      7.29.0-54.el7_7.2         ubi-7      270 k
 libcurl                 x86_64      7.29.0-54.el7_7.2         ubi-7      223 k
 nss                     x86_64      3.44.0-7.el7_7            ubi-7      854 k
 nss-softokn             x86_64      3.44.0-8.el7_7            ubi-7      330 k
 nss-softokn-freebl      x86_64      3.44.0-8.el7_7            ubi-7      224 k
 nss-sysinit             x86_64      3.44.0-7.el7_7            ubi-7       65 k
 nss-tools               x86_64      3.44.0-7.el7_7            ubi-7      528 k
 nss-util                x86_64      3.44.0-4.el7_7            ubi-7       79 k
 sqlite                  x86_64      3.7.17-8.el7_7.1          ubi-7      394 k
 systemd                 x86_64      219-67.el7_7.3            ubi-7      5.1 M
 systemd-libs            x86_64      219-67.el7_7.3            ubi-7      411 k

Transaction Summary
================================================================================
Upgrade  12 Packages

Total download size: 14 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7Server/ubi-7/packages/curl-7.29.0-54.el7_7.2.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Public key for curl-7.29.0-54.el7_7.2.x86_64.rpm is not installed
--------------------------------------------------------------------------------
Total                                              4.0 MB/s |  14 MB  00:03
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Importing GPG key 0xFD431D51:
 Userid     : "Red Hat, Inc. (release key 2) <security@redhat.com>"
 Fingerprint: 567e 347a d004 4ade 55ba 8a5f 199e 2f91 fd43 1d51
 Package    : redhat-release-server-7.7-10.el7.x86_64 (@anaconda/7.7)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Importing GPG key 0x2FA658E0:
 Userid     : "Red Hat, Inc. (auxiliary key) <security@redhat.com>"
 Fingerprint: 43a6 e49c 4a38 f4be 9abf 2a53 4568 9c88 2fa6 58e0
 Package    : redhat-release-server-7.7-10.el7.x86_64 (@anaconda/7.7)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : nss-util-3.44.0-4.el7_7.x86_64                              1/24
  Updating   : nss-softokn-freebl-3.44.0-8.el7_7.x86_64                    2/24
  Updating   : systemd-libs-219-67.el7_7.3.x86_64                          3/24
  Updating   : sqlite-3.7.17-8.el7_7.1.x86_64                              4/24
  Updating   : nss-softokn-3.44.0-8.el7_7.x86_64                           5/24
  Updating   : nss-sysinit-3.44.0-7.el7_7.x86_64                           6/24
  Updating   : nss-3.44.0-7.el7_7.x86_64                                   7/24
  Updating   : libcurl-7.29.0-54.el7_7.2.x86_64                            8/24
  Updating   : curl-7.29.0-54.el7_7.2.x86_64                               9/24
  Updating   : systemd-219-67.el7_7.3.x86_64                              10/24
Failed to get D-Bus connection: Operation not permitted
  Updating   : nss-tools-3.44.0-7.el7_7.x86_64                            11/24
  Updating   : binutils-2.27-41.base.el7_7.2.x86_64                       12/24
install-info: No such file or directory for /usr/share/info/as.info.gz
install-info: No such file or directory for /usr/share/info/binutils.info.gz
install-info: No such file or directory for /usr/share/info/gprof.info.gz
install-info: No such file or directory for /usr/share/info/ld.info.gz
install-info: No such file or directory for /usr/share/info/standards.info.gz
  Cleanup    : nss-tools-3.44.0-4.el7.x86_64                              13/24
  Cleanup    : curl-7.29.0-54.el7_7.1.x86_64                              14/24
  Cleanup    : systemd-219-67.el7_7.2.x86_64                              15/24
  Cleanup    : libcurl-7.29.0-54.el7_7.1.x86_64                           16/24
  Cleanup    : nss-sysinit-3.44.0-4.el7.x86_64                            17/24
  Cleanup    : nss-3.44.0-4.el7.x86_64                                    18/24
  Cleanup    : nss-softokn-3.44.0-5.el7.x86_64                            19/24
  Cleanup    : nss-softokn-freebl-3.44.0-5.el7.x86_64                     20/24
  Cleanup    : nss-util-3.44.0-3.el7.x86_64                               21/24
  Cleanup    : sqlite-3.7.17-8.el7.x86_64                                 22/24
  Cleanup    : systemd-libs-219-67.el7_7.2.x86_64                         23/24
  Cleanup    : binutils-2.27-41.base.el7_7.1.x86_64                       24/24
  Verifying  : binutils-2.27-41.base.el7_7.2.x86_64                        1/24
  Verifying  : nss-tools-3.44.0-7.el7_7.x86_64                             2/24
  Verifying  : nss-3.44.0-7.el7_7.x86_64                                   3/24
  Verifying  : sqlite-3.7.17-8.el7_7.1.x86_64                              4/24
  Verifying  : systemd-libs-219-67.el7_7.3.x86_64                          5/24
  Verifying  : nss-sysinit-3.44.0-7.el7_7.x86_64                           6/24
  Verifying  : curl-7.29.0-54.el7_7.2.x86_64                               7/24
  Verifying  : systemd-219-67.el7_7.3.x86_64                               8/24
  Verifying  : libcurl-7.29.0-54.el7_7.2.x86_64                            9/24
  Verifying  : nss-util-3.44.0-4.el7_7.x86_64                             10/24
  Verifying  : nss-softokn-freebl-3.44.0-8.el7_7.x86_64                   11/24
  Verifying  : nss-softokn-3.44.0-8.el7_7.x86_64                          12/24
  Verifying  : nss-tools-3.44.0-4.el7.x86_64                              13/24
  Verifying  : systemd-libs-219-67.el7_7.2.x86_64                         14/24
  Verifying  : systemd-219-67.el7_7.2.x86_64                              15/24
  Verifying  : nss-util-3.44.0-3.el7.x86_64                               16/24
  Verifying  : curl-7.29.0-54.el7_7.1.x86_64                              17/24
  Verifying  : libcurl-7.29.0-54.el7_7.1.x86_64                           18/24
  Verifying  : nss-sysinit-3.44.0-4.el7.x86_64                            19/24
  Verifying  : binutils-2.27-41.base.el7_7.1.x86_64                       20/24
  Verifying  : nss-softokn-freebl-3.44.0-5.el7.x86_64                     21/24
  Verifying  : nss-3.44.0-4.el7.x86_64                                    22/24
  Verifying  : nss-softokn-3.44.0-5.el7.x86_64                            23/24
  Verifying  : sqlite-3.7.17-8.el7.x86_64                                 24/24

Updated:
  binutils.x86_64 0:2.27-41.base.el7_7.2
  curl.x86_64 0:7.29.0-54.el7_7.2
  libcurl.x86_64 0:7.29.0-54.el7_7.2
  nss.x86_64 0:3.44.0-7.el7_7
  nss-softokn.x86_64 0:3.44.0-8.el7_7
  nss-softokn-freebl.x86_64 0:3.44.0-8.el7_7
  nss-sysinit.x86_64 0:3.44.0-7.el7_7
  nss-tools.x86_64 0:3.44.0-7.el7_7
  nss-util.x86_64 0:3.44.0-4.el7_7
  sqlite.x86_64 0:3.7.17-8.el7_7.1
  systemd.x86_64 0:219-67.el7_7.3
  systemd-libs.x86_64 0:219-67.el7_7.3

Complete!
Loaded plugins: ovl, product-id, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-39.el7 will be installed
--> Processing Dependency: cpp = 4.8.5-39.el7 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: libgomp = 4.8.5-39.el7 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-39.el7.x86_64
---> Package gcc-c++.x86_64 0:4.8.5-39.el7 will be installed
--> Processing Dependency: libstdc++-devel = 4.8.5-39.el7 for package: gcc-c++-4.8.5-39.el7.x86_64
---> Package make.x86_64 1:3.82-24.el7 will be installed
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-39.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-292.el7 will be installed
--> Processing Dependency: glibc-headers = 2.17-292.el7 for package: glibc-devel-2.17-292.el7.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-292.el7.x86_64
---> Package libgomp.x86_64 0:4.8.5-39.el7 will be installed
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package libstdc++-devel.x86_64 0:4.8.5-39.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.17-292.el7 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-292.el7.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-292.el7.x86_64
--> Running transaction check
---> Package kernel-headers.x86_64 0:3.10.0-1062.12.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch        Version                      Repository  Size
================================================================================
Installing:
 gcc                  x86_64      4.8.5-39.el7                 ubi-7       16 M
 gcc-c++              x86_64      4.8.5-39.el7                 ubi-7      7.2 M
 make                 x86_64      1:3.82-24.el7                ubi-7      421 k
Installing for dependencies:
 cpp                  x86_64      4.8.5-39.el7                 ubi-7      6.0 M
 glibc-devel          x86_64      2.17-292.el7                 ubi-7      1.1 M
 glibc-headers        x86_64      2.17-292.el7                 ubi-7      687 k
 kernel-headers       x86_64      3.10.0-1062.12.1.el7         ubi-7      8.7 M
 libgomp              x86_64      4.8.5-39.el7                 ubi-7      158 k
 libmpc               x86_64      1.0.1-3.el7                  ubi-7       51 k
 libstdc++-devel      x86_64      4.8.5-39.el7                 ubi-7      1.5 M
 mpfr                 x86_64      3.1.1-4.el7                  ubi-7      203 k

Transaction Summary
================================================================================
Install  3 Packages (+8 Dependent packages)

Total download size: 42 M
Installed size: 86 M
Downloading packages:
--------------------------------------------------------------------------------
Total                                              5.8 MB/s |  42 MB  00:07
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mpfr-3.1.1-4.el7.x86_64                                     1/11
  Installing : libmpc-1.0.1-3.el7.x86_64                                   2/11
  Installing : cpp-4.8.5-39.el7.x86_64                                     3/11
  Installing : kernel-headers-3.10.0-1062.12.1.el7.x86_64                  4/11
  Installing : glibc-headers-2.17-292.el7.x86_64                           5/11
  Installing : glibc-devel-2.17-292.el7.x86_64                             6/11
  Installing : libstdc++-devel-4.8.5-39.el7.x86_64                         7/11
  Installing : libgomp-4.8.5-39.el7.x86_64                                 8/11
  Installing : gcc-4.8.5-39.el7.x86_64                                     9/11
  Installing : gcc-c++-4.8.5-39.el7.x86_64                                10/11
  Installing : 1:make-3.82-24.el7.x86_64                                  11/11
  Verifying  : glibc-devel-2.17-292.el7.x86_64                             1/11
  Verifying  : gcc-c++-4.8.5-39.el7.x86_64                                 2/11
  Verifying  : 1:make-3.82-24.el7.x86_64                                   3/11
  Verifying  : mpfr-3.1.1-4.el7.x86_64                                     4/11
  Verifying  : libgomp-4.8.5-39.el7.x86_64                                 5/11
  Verifying  : libmpc-1.0.1-3.el7.x86_64                                   6/11
  Verifying  : cpp-4.8.5-39.el7.x86_64                                     7/11
  Verifying  : gcc-4.8.5-39.el7.x86_64                                     8/11
  Verifying  : libstdc++-devel-4.8.5-39.el7.x86_64                         9/11
  Verifying  : kernel-headers-3.10.0-1062.12.1.el7.x86_64                 10/11
  Verifying  : glibc-headers-2.17-292.el7.x86_64                          11/11

Installed:
  gcc.x86_64 0:4.8.5-39.el7            gcc-c++.x86_64 0:4.8.5-39.el7
  make.x86_64 1:3.82-24.el7

Dependency Installed:
  cpp.x86_64 0:4.8.5-39.el7
  glibc-devel.x86_64 0:2.17-292.el7
  glibc-headers.x86_64 0:2.17-292.el7
  kernel-headers.x86_64 0:3.10.0-1062.12.1.el7
  libgomp.x86_64 0:4.8.5-39.el7
  libmpc.x86_64 0:1.0.1-3.el7
  libstdc++-devel.x86_64 0:4.8.5-39.el7
  mpfr.x86_64 0:3.1.1-4.el7

Complete!
Loaded plugins: ovl, product-id, search-disabled-repos
Cleaning repos: ubi-7 ubi-7-rhah ubi-7-server-devtools-rpms
              : ubi-7-server-extras-rpms ubi-7-server-optional-rpms
              : ubi-server-rhscl-7-rpms
INFO[0065] Taking snapshot of full filesystem...
INFO[0065] Adding whiteout for /var/lib/yum/yumdb/n/939bd19e4f12fb2195f9571120092f8ae8d57dc1-nss-softokn-freebl-3.44.0-5.el7-x86_64
INFO[0065] Adding whiteout for /var/lib/yum/rpmdb-indexes/conflicts
INFO[0065] Adding whiteout for /usr/lib64/libbfd-2.27-41.base.el7_7.1.so
INFO[0065] Adding whiteout for /var/lib/yum/yumdb/b/4c369229881b300e3e564b9be2679d24a74368fb-binutils-2.27-41.base.el7_7.1-x86_64
INFO[0065] Adding whiteout for /var/lib/yum/yumdb/s/7488ccedb864f45573f8f76b7cf76141f97eb35f-sqlite-3.7.17-8.el7-x86_64
INFO[0065] Adding whiteout for /var/lib/yum/rpmdb-indexes/version
INFO[0065] Adding whiteout for /usr/lib64/libopcodes-2.27-41.base.el7_7.1.so
INFO[0065] Adding whiteout for /var/lib/yum/yumdb/l/317aba0360ab628f9efdd4f0b4b4a313039c89a2-libcurl-7.29.0-54.el7_7.1-x86_64
INFO[0065] Adding whiteout for /var/lib/yum/yumdb/n/1d886c11b8478068d9f8bdd7764b94501635306d-nss-sysinit-3.44.0-4.el7-x86_64
INFO[0065] Adding whiteout for /var/lib/yum/rpmdb-indexes/obsoletes
INFO[0065] Adding whiteout for /var/lib/yum/rpmdb-indexes/file-requires
INFO[0065] Adding whiteout for /var/lib/yum/yumdb/n/9c358fa289102ab9c0d28decb5de985391517ab5-nss-3.44.0-4.el7-x86_64
INFO[0065] Adding whiteout for /var/lib/yum/yumdb/s/8ea510704120f3378d00b516e3ffbfc7ee67f66d-systemd-219-67.el7_7.2-x86_64
INFO[0065] Adding whiteout for /var/lib/yum/yumdb/n/ce3e8fdc5b9723da97371f4e65ec44e8490aa84a-nss-softokn-3.44.0-5.el7-x86_64
INFO[0065] Adding whiteout for /var/lib/yum/yumdb/n/d700496ea41582ea9596d71c2c797a7258e98284-nss-util-3.44.0-3.el7-x86_64
INFO[0065] Adding whiteout for /var/lib/yum/yumdb/c/13e4cfa6c01c54f7bd005b45b2f86e023e0bf3d9-curl-7.29.0-54.el7_7.1-x86_64
INFO[0065] Adding whiteout for /var/lib/yum/yumdb/n/fd1dd9f95ea47fbb41a1b2c62b60edefa0e491c3-nss-tools-3.44.0-4.el7-x86_64
INFO[0065] Adding whiteout for /var/lib/yum/yumdb/s/3924e2a2ddea4327fa580f5430e3fc23d283c145-systemd-libs-219-67.el7_7.2-x86_64
INFO[0065] Adding whiteout for /var/lib/yum/rpmdb-indexes/pkgtups-checksums
  1. Build the image from the same Dockerfile “build1” with gcr.io/kaniko-project/executor:debug-v0.17.1 docker run --rm --entrypoint "" -v /host/path/to/kaniko/config.json:/kaniko/.docker/config.json -v /host/path/to/dockerfile/directory/kaniko/20200207-001/build1:/workspace gcr.io/kaniko-project/executor:debug-v0.17.1 /kaniko/executor --context /workspace --dockerfile /workspace/Dockerfile --destination index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.17.1 output:
$ docker run --rm --entrypoint "" -v /host/path/to/kaniko/config.json:/kaniko/.docker/config.json -v /host/path/to/dockerfile/directory/kaniko/20200207-001/build1:/workspace gcr.io/kaniko-project/executor:debug-v0.17.1 /kaniko/executor --context /workspace --dockerfile /workspace/Dockerfile --destination index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.17.1
INFO[0001] Resolved base name registry.access.redhat.com/ubi7/ubi:7.7-214 to registry.access.redhat.com/ubi7/ubi:7.7-214
INFO[0001] Resolved base name registry.access.redhat.com/ubi7/ubi:7.7-214 to registry.access.redhat.com/ubi7/ubi:7.7-214
INFO[0001] Retrieving image manifest registry.access.redhat.com/ubi7/ubi:7.7-214
INFO[0003] Retrieving image manifest registry.access.redhat.com/ubi7/ubi:7.7-214
INFO[0005] Built cross stage deps: map[]
INFO[0005] Retrieving image manifest registry.access.redhat.com/ubi7/ubi:7.7-214
INFO[0006] Retrieving image manifest registry.access.redhat.com/ubi7/ubi:7.7-214
INFO[0008] Unpacking rootfs as cmd RUN yum --disableplugin=subscription-manager update -y     && yum --disableplugin=subscription-manager install -y         gcc-4.8.5-39.el7         gcc-c++-4.8.5-39.el7         make-3.82-24.el7     && yum --disableplugin=subscription-manager clean all requires it.
INFO[0029] Taking snapshot of full filesystem...
INFO[0030] RUN yum --disableplugin=subscription-manager update -y     && yum --disableplugin=subscription-manager install -y         gcc-4.8.5-39.el7         gcc-c++-4.8.5-39.el7         make-3.82-24.el7     && yum --disableplugin=subscription-manager clean all
INFO[0030] cmd: /bin/sh
INFO[0030] args: [-c yum --disableplugin=subscription-manager update -y     && yum --disableplugin=subscription-manager install -y         gcc-4.8.5-39.el7         gcc-c++-4.8.5-39.el7         make-3.82-24.el7     && yum --disableplugin=subscription-manager clean all]
Loaded plugins: ovl, product-id, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package binutils.x86_64 0:2.27-41.base.el7_7.1 will be updated
---> Package binutils.x86_64 0:2.27-41.base.el7_7.2 will be an update
---> Package curl.x86_64 0:7.29.0-54.el7_7.1 will be updated
---> Package curl.x86_64 0:7.29.0-54.el7_7.2 will be an update
---> Package libcurl.x86_64 0:7.29.0-54.el7_7.1 will be updated
---> Package libcurl.x86_64 0:7.29.0-54.el7_7.2 will be an update
---> Package nss.x86_64 0:3.44.0-4.el7 will be updated
---> Package nss.x86_64 0:3.44.0-7.el7_7 will be an update
---> Package nss-softokn.x86_64 0:3.44.0-5.el7 will be updated
---> Package nss-softokn.x86_64 0:3.44.0-8.el7_7 will be an update
---> Package nss-softokn-freebl.x86_64 0:3.44.0-5.el7 will be updated
---> Package nss-softokn-freebl.x86_64 0:3.44.0-8.el7_7 will be an update
---> Package nss-sysinit.x86_64 0:3.44.0-4.el7 will be updated
---> Package nss-sysinit.x86_64 0:3.44.0-7.el7_7 will be an update
---> Package nss-tools.x86_64 0:3.44.0-4.el7 will be updated
---> Package nss-tools.x86_64 0:3.44.0-7.el7_7 will be an update
---> Package nss-util.x86_64 0:3.44.0-3.el7 will be updated
---> Package nss-util.x86_64 0:3.44.0-4.el7_7 will be an update
---> Package sqlite.x86_64 0:3.7.17-8.el7 will be updated
---> Package sqlite.x86_64 0:3.7.17-8.el7_7.1 will be an update
---> Package systemd.x86_64 0:219-67.el7_7.2 will be updated
---> Package systemd.x86_64 0:219-67.el7_7.3 will be an update
---> Package systemd-libs.x86_64 0:219-67.el7_7.2 will be updated
---> Package systemd-libs.x86_64 0:219-67.el7_7.3 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch        Version                   Repository  Size
================================================================================
Updating:
 binutils                x86_64      2.27-41.base.el7_7.2      ubi-7      5.9 M
 curl                    x86_64      7.29.0-54.el7_7.2         ubi-7      270 k
 libcurl                 x86_64      7.29.0-54.el7_7.2         ubi-7      223 k
 nss                     x86_64      3.44.0-7.el7_7            ubi-7      854 k
 nss-softokn             x86_64      3.44.0-8.el7_7            ubi-7      330 k
 nss-softokn-freebl      x86_64      3.44.0-8.el7_7            ubi-7      224 k
 nss-sysinit             x86_64      3.44.0-7.el7_7            ubi-7       65 k
 nss-tools               x86_64      3.44.0-7.el7_7            ubi-7      528 k
 nss-util                x86_64      3.44.0-4.el7_7            ubi-7       79 k
 sqlite                  x86_64      3.7.17-8.el7_7.1          ubi-7      394 k
 systemd                 x86_64      219-67.el7_7.3            ubi-7      5.1 M
 systemd-libs            x86_64      219-67.el7_7.3            ubi-7      411 k

Transaction Summary
================================================================================
Upgrade  12 Packages

Total download size: 14 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7Server/ubi-7/packages/curl-7.29.0-54.el7_7.2.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Public key for curl-7.29.0-54.el7_7.2.x86_64.rpm is not installed
--------------------------------------------------------------------------------
Total                                              3.7 MB/s |  14 MB  00:03
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Importing GPG key 0xFD431D51:
 Userid     : "Red Hat, Inc. (release key 2) <security@redhat.com>"
 Fingerprint: 567e 347a d004 4ade 55ba 8a5f 199e 2f91 fd43 1d51
 Package    : redhat-release-server-7.7-10.el7.x86_64 (@anaconda/7.7)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Importing GPG key 0x2FA658E0:
 Userid     : "Red Hat, Inc. (auxiliary key) <security@redhat.com>"
 Fingerprint: 43a6 e49c 4a38 f4be 9abf 2a53 4568 9c88 2fa6 58e0
 Package    : redhat-release-server-7.7-10.el7.x86_64 (@anaconda/7.7)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : nss-util-3.44.0-4.el7_7.x86_64                              1/24
  Updating   : nss-softokn-freebl-3.44.0-8.el7_7.x86_64                    2/24
  Updating   : systemd-libs-219-67.el7_7.3.x86_64                          3/24
  Updating   : sqlite-3.7.17-8.el7_7.1.x86_64                              4/24
  Updating   : nss-softokn-3.44.0-8.el7_7.x86_64                           5/24
  Updating   : nss-sysinit-3.44.0-7.el7_7.x86_64                           6/24
  Updating   : nss-3.44.0-7.el7_7.x86_64                                   7/24
  Updating   : libcurl-7.29.0-54.el7_7.2.x86_64                            8/24
  Updating   : curl-7.29.0-54.el7_7.2.x86_64                               9/24
  Updating   : systemd-219-67.el7_7.3.x86_64                              10/24
Failed to get D-Bus connection: Operation not permitted
  Updating   : nss-tools-3.44.0-7.el7_7.x86_64                            11/24
  Updating   : binutils-2.27-41.base.el7_7.2.x86_64                       12/24
install-info: No such file or directory for /usr/share/info/as.info.gz
install-info: No such file or directory for /usr/share/info/binutils.info.gz
install-info: No such file or directory for /usr/share/info/gprof.info.gz
install-info: No such file or directory for /usr/share/info/ld.info.gz
install-info: No such file or directory for /usr/share/info/standards.info.gz
  Cleanup    : nss-tools-3.44.0-4.el7.x86_64                              13/24
  Cleanup    : curl-7.29.0-54.el7_7.1.x86_64                              14/24
  Cleanup    : systemd-219-67.el7_7.2.x86_64                              15/24
  Cleanup    : libcurl-7.29.0-54.el7_7.1.x86_64                           16/24
  Cleanup    : nss-sysinit-3.44.0-4.el7.x86_64                            17/24
  Cleanup    : nss-3.44.0-4.el7.x86_64                                    18/24
  Cleanup    : nss-softokn-3.44.0-5.el7.x86_64                            19/24
  Cleanup    : nss-softokn-freebl-3.44.0-5.el7.x86_64                     20/24
  Cleanup    : nss-util-3.44.0-3.el7.x86_64                               21/24
  Cleanup    : sqlite-3.7.17-8.el7.x86_64                                 22/24
  Cleanup    : systemd-libs-219-67.el7_7.2.x86_64                         23/24
  Cleanup    : binutils-2.27-41.base.el7_7.1.x86_64                       24/24
  Verifying  : binutils-2.27-41.base.el7_7.2.x86_64                        1/24
  Verifying  : nss-tools-3.44.0-7.el7_7.x86_64                             2/24
  Verifying  : nss-3.44.0-7.el7_7.x86_64                                   3/24
  Verifying  : sqlite-3.7.17-8.el7_7.1.x86_64                              4/24
  Verifying  : systemd-libs-219-67.el7_7.3.x86_64                          5/24
  Verifying  : nss-sysinit-3.44.0-7.el7_7.x86_64                           6/24
  Verifying  : curl-7.29.0-54.el7_7.2.x86_64                               7/24
  Verifying  : systemd-219-67.el7_7.3.x86_64                               8/24
  Verifying  : libcurl-7.29.0-54.el7_7.2.x86_64                            9/24
  Verifying  : nss-util-3.44.0-4.el7_7.x86_64                             10/24
  Verifying  : nss-softokn-freebl-3.44.0-8.el7_7.x86_64                   11/24
  Verifying  : nss-softokn-3.44.0-8.el7_7.x86_64                          12/24
  Verifying  : nss-tools-3.44.0-4.el7.x86_64                              13/24
  Verifying  : systemd-libs-219-67.el7_7.2.x86_64                         14/24
  Verifying  : systemd-219-67.el7_7.2.x86_64                              15/24
  Verifying  : nss-util-3.44.0-3.el7.x86_64                               16/24
  Verifying  : curl-7.29.0-54.el7_7.1.x86_64                              17/24
  Verifying  : libcurl-7.29.0-54.el7_7.1.x86_64                           18/24
  Verifying  : nss-sysinit-3.44.0-4.el7.x86_64                            19/24
  Verifying  : binutils-2.27-41.base.el7_7.1.x86_64                       20/24
  Verifying  : nss-softokn-freebl-3.44.0-5.el7.x86_64                     21/24
  Verifying  : nss-3.44.0-4.el7.x86_64                                    22/24
  Verifying  : nss-softokn-3.44.0-5.el7.x86_64                            23/24
  Verifying  : sqlite-3.7.17-8.el7.x86_64                                 24/24

Updated:
  binutils.x86_64 0:2.27-41.base.el7_7.2
  curl.x86_64 0:7.29.0-54.el7_7.2
  libcurl.x86_64 0:7.29.0-54.el7_7.2
  nss.x86_64 0:3.44.0-7.el7_7
  nss-softokn.x86_64 0:3.44.0-8.el7_7
  nss-softokn-freebl.x86_64 0:3.44.0-8.el7_7
  nss-sysinit.x86_64 0:3.44.0-7.el7_7
  nss-tools.x86_64 0:3.44.0-7.el7_7
  nss-util.x86_64 0:3.44.0-4.el7_7
  sqlite.x86_64 0:3.7.17-8.el7_7.1
  systemd.x86_64 0:219-67.el7_7.3
  systemd-libs.x86_64 0:219-67.el7_7.3

Complete!
Loaded plugins: ovl, product-id, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-39.el7 will be installed
--> Processing Dependency: cpp = 4.8.5-39.el7 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: libgomp = 4.8.5-39.el7 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-39.el7.x86_64
---> Package gcc-c++.x86_64 0:4.8.5-39.el7 will be installed
--> Processing Dependency: libstdc++-devel = 4.8.5-39.el7 for package: gcc-c++-4.8.5-39.el7.x86_64
---> Package make.x86_64 1:3.82-24.el7 will be installed
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-39.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-292.el7 will be installed
--> Processing Dependency: glibc-headers = 2.17-292.el7 for package: glibc-devel-2.17-292.el7.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-292.el7.x86_64
---> Package libgomp.x86_64 0:4.8.5-39.el7 will be installed
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package libstdc++-devel.x86_64 0:4.8.5-39.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.17-292.el7 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-292.el7.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-292.el7.x86_64
--> Running transaction check
---> Package kernel-headers.x86_64 0:3.10.0-1062.12.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch        Version                      Repository  Size
================================================================================
Installing:
 gcc                  x86_64      4.8.5-39.el7                 ubi-7       16 M
 gcc-c++              x86_64      4.8.5-39.el7                 ubi-7      7.2 M
 make                 x86_64      1:3.82-24.el7                ubi-7      421 k
Installing for dependencies:
 cpp                  x86_64      4.8.5-39.el7                 ubi-7      6.0 M
 glibc-devel          x86_64      2.17-292.el7                 ubi-7      1.1 M
 glibc-headers        x86_64      2.17-292.el7                 ubi-7      687 k
 kernel-headers       x86_64      3.10.0-1062.12.1.el7         ubi-7      8.7 M
 libgomp              x86_64      4.8.5-39.el7                 ubi-7      158 k
 libmpc               x86_64      1.0.1-3.el7                  ubi-7       51 k
 libstdc++-devel      x86_64      4.8.5-39.el7                 ubi-7      1.5 M
 mpfr                 x86_64      3.1.1-4.el7                  ubi-7      203 k

Transaction Summary
================================================================================
Install  3 Packages (+8 Dependent packages)

Total download size: 42 M
Installed size: 86 M
Downloading packages:
--------------------------------------------------------------------------------
Total                                              7.0 MB/s |  42 MB  00:06
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mpfr-3.1.1-4.el7.x86_64                                     1/11
  Installing : libmpc-1.0.1-3.el7.x86_64                                   2/11
  Installing : cpp-4.8.5-39.el7.x86_64                                     3/11
  Installing : kernel-headers-3.10.0-1062.12.1.el7.x86_64                  4/11
  Installing : glibc-headers-2.17-292.el7.x86_64                           5/11
  Installing : glibc-devel-2.17-292.el7.x86_64                             6/11
  Installing : libstdc++-devel-4.8.5-39.el7.x86_64                         7/11
  Installing : libgomp-4.8.5-39.el7.x86_64                                 8/11
  Installing : gcc-4.8.5-39.el7.x86_64                                     9/11
  Installing : gcc-c++-4.8.5-39.el7.x86_64                                10/11
  Installing : 1:make-3.82-24.el7.x86_64                                  11/11
  Verifying  : glibc-devel-2.17-292.el7.x86_64                             1/11
  Verifying  : gcc-c++-4.8.5-39.el7.x86_64                                 2/11
  Verifying  : 1:make-3.82-24.el7.x86_64                                   3/11
  Verifying  : mpfr-3.1.1-4.el7.x86_64                                     4/11
  Verifying  : libgomp-4.8.5-39.el7.x86_64                                 5/11
  Verifying  : libmpc-1.0.1-3.el7.x86_64                                   6/11
  Verifying  : cpp-4.8.5-39.el7.x86_64                                     7/11
  Verifying  : gcc-4.8.5-39.el7.x86_64                                     8/11
  Verifying  : libstdc++-devel-4.8.5-39.el7.x86_64                         9/11
  Verifying  : kernel-headers-3.10.0-1062.12.1.el7.x86_64                 10/11
  Verifying  : glibc-headers-2.17-292.el7.x86_64                          11/11

Installed:
  gcc.x86_64 0:4.8.5-39.el7            gcc-c++.x86_64 0:4.8.5-39.el7
  make.x86_64 1:3.82-24.el7

Dependency Installed:
  cpp.x86_64 0:4.8.5-39.el7
  glibc-devel.x86_64 0:2.17-292.el7
  glibc-headers.x86_64 0:2.17-292.el7
  kernel-headers.x86_64 0:3.10.0-1062.12.1.el7
  libgomp.x86_64 0:4.8.5-39.el7
  libmpc.x86_64 0:1.0.1-3.el7
  libstdc++-devel.x86_64 0:4.8.5-39.el7
  mpfr.x86_64 0:3.1.1-4.el7

Complete!
Loaded plugins: ovl, product-id, search-disabled-repos
Cleaning repos: ubi-7 ubi-7-rhah ubi-7-server-devtools-rpms
              : ubi-7-server-extras-rpms ubi-7-server-optional-rpms
              : ubi-server-rhscl-7-rpms
INFO[0066] Taking snapshot of full filesystem...
  1. Try to build the image from the Dockerfile “build2” with gcr.io/kaniko-project/executor:debug-v0.17.1 (or gcr.io/kaniko-project/executor:debug-v0.16.0, same results), using the image “build1” with tag debug-v0.16.0 (see Dockerfile.debug-v0.16.0) > OK docker run --rm --entrypoint "" -v /host/path/to/dockerfile/directory/kaniko/20200207-001/build2:/workspace gcr.io/kaniko-project/executor:debug-v0.17.1 /kaniko/executor --context /workspace --dockerfile /workspace/Dockerfile.debug-v0.16.0 --no-push output:
$ docker run --rm --entrypoint "" -v /host/path/to/dockerfile/directory/kaniko/20200207-001/build2:/workspace gcr.io/kaniko-project/executor:debug-v0.17.1 /kaniko/executor --context /workspace --dockerfile /workspace/Dockerfile.debug-v0.16.0 --no-push
INFO[0000] Resolved base name index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.16.0 to index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.16.0
INFO[0000] Resolved base name index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.16.0 to index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.16.0
INFO[0000] Retrieving image manifest index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.16.0
INFO[0002] Retrieving image manifest index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.16.0
INFO[0007] Built cross stage deps: map[]
INFO[0007] Retrieving image manifest index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.16.0
INFO[0008] Retrieving image manifest index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.16.0
INFO[0009] Unpacking rootfs as cmd RUN echo test requires it.
INFO[0024] Taking snapshot of full filesystem...
INFO[0025] RUN echo test
INFO[0025] cmd: /bin/sh
INFO[0025] args: [-c echo test]
test
INFO[0025] Taking snapshot of full filesystem...
INFO[0026] Skipping push to container registry due to --no-push flag
  1. Try to build the image from the Dockerfile “build2” with gcr.io/kaniko-project/executor:debug-v0.17.1 (or gcr.io/kaniko-project/executor:debug-v0.16.0, same results), using the image “build1” with tag debug-v0.17.1 (see Dockerfile.debug-v0.17.1) > KO docker run --rm --entrypoint "" -v /host/path/to/dockerfile/directory/kaniko/20200207-001/build2:/workspace gcr.io/kaniko-project/executor:debug-v0.17.1 /kaniko/executor --context /workspace --dockerfile /workspace/Dockerfile.debug-v0.17.1 --no-push output:
$ docker run --rm --entrypoint "" -v /host/path/to/dockerfile/directory/kaniko/20200207-001/build2:/workspace gcr.io/kaniko-project/executor:debug-v0.17.1 /kaniko/executor --context /workspace --dockerfile /workspace/Dockerfile.debug-v0.17.1 --no-push
INFO[0000] Resolved base name index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.17.1 to index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.17.1
INFO[0000] Resolved base name index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.17.1 to index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.17.1
INFO[0000] Retrieving image manifest index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.17.1
INFO[0001] Retrieving image manifest index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.17.1
INFO[0003] Built cross stage deps: map[]
INFO[0003] Retrieving image manifest index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.17.1
INFO[0003] Retrieving image manifest index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.17.1
INFO[0004] Unpacking rootfs as cmd RUN echo test requires it.
error building image: error building stage: failed to get filesystem from image: removing whiteout .wh.dev: unlinkat //dev/pts/ptmx: operation not permitted

Additional Information

  • Dockerfile Please provide either the Dockerfile you’re trying to build or one that can reproduce this error.

Dockerfile “build1”

FROM registry.access.redhat.com/ubi7/ubi:7.7-214

# Install GCC, GCC-C++ and make libraries for build environment
# Then clean caches
RUN yum --disableplugin=subscription-manager update -y \
    && yum --disableplugin=subscription-manager install -y \
        gcc-4.8.5-39.el7 \
        gcc-c++-4.8.5-39.el7 \
        make-3.82-24.el7 \
    && yum --disableplugin=subscription-manager clean all

Dockerfile.debug-v0.16.0 “build2”

FROM index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.16.0

RUN echo test

Dockerfile.debug-v0.17.1 “build2”

FROM index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.17.1

RUN echo test
  • Build Context Please provide or clearly describe any files needed to build the Dockerfile (ADD/COPY commands) No specific files
  • Kaniko Image (fully qualified with digest) gcr.io/kaniko-project/executor:debug-v0.16.0 gcr.io/kaniko-project/executor:debug-v0.17.1

Please note:

  • That “Build1” build with kaniko v0.16.0 has several Adding whiteout not present in build with kaniko v0.17.1

  • “Build1” images index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.16.0 and index.docker.io/tanguydelignieres/kaniko_bugs_20200207-001_build1:debug-v0.17.1 have been pushed to my dockerhub if you need them.

  • I can’t tell if this issue is related to #763, you may have a check too.

Triage Notes for the Maintainers

Description Yes/No
Please check if this a new feature you are proposing
  • - [ ]
Please check if the build works in docker but not in kaniko
  • - [ ]
Please check if this error is seen when you use --cache flag
  • - [ ]
Please check if your dockerfile is a multistage dockerfile
  • - [ ]

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 13
  • Comments: 27 (10 by maintainers)

Most upvoted comments

I see this is merged, but I have many Google Cloud Build pipelines using kaniko:latest which are still failing with the same problem… any ideas why? should I use another tag?

Thanks

We’ve committed a change which I hope will fix this. If anyone feels like testing tags a1af057f997316bfb1c4d2d82719d78481a02a79 and debug-a1af057f997316bfb1c4d2d82719d78481a02a79 have the new code

@tanguydelignieresaccenture can you try tag 1039-fix-test or debug-1039-fix-test?

I’ve just pushed these two tags and I’d like to test if they fix the issue you are seeing. Thanks!