You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behavior
We have a Dockerfile with the following contents
FROM <ourbaseimage>
ADD caches.tar.gz /home/somepath/
The build completes and successfully pushes an image to the repository. But: The ADD line produces an image that's twice the size of what we expect.
Expected size: BASE_IMAGE_SIZE + <caches.tar.gz extracted>
Actual size: BASE_IMAGE_SIZE + BASE_IMAGE_SIZE + <caches.tar.gz extracted>
We've tried using --snapshotMode=redo and/or --use-new-run with the same result.
I don't know if this is the reason for our problem with kaniko 1.5.2. We didn't have the issue with 1.3.0.
Taking snapshot of full filesystem...
Finished with exit code: -9
Background
We are building docker images with kaniko inside kubernetes and having this problem for larger images (>2GB) with larger artifacts (>500MB) being added to the image. The pod, which was running kaniko showed the OOMKilled status (maybe related to #909)
Sorry, for not providing more information on how to reproduce the issue...
Actual behavior
We have a Dockerfile with the following contents
The build completes and successfully pushes an image to the repository. But: The ADD line produces an image that's twice the size of what we expect.
Expected size: BASE_IMAGE_SIZE + <caches.tar.gz extracted>
Actual size: BASE_IMAGE_SIZE + BASE_IMAGE_SIZE + <caches.tar.gz extracted>
We've tried using --snapshotMode=redo and/or --use-new-run with the same result.
Expected behavior
Expected image size: BASE_IMAGE_SIZE + <caches.tar.gz extracted>
LOG
--cache
flagThe text was updated successfully, but these errors were encountered: