Summary
Temporary files are not deleted (nor reused) after build when using with podman.
The podman doesn't support "sparse" tarballs, so pack has to download builder layers to temp.
The issue is that the files are not deleted after build finished.
Even more so when pack build is run repeatedly multiple identical temporary directories occupy temp filesystem.
This is particularly problematic when /tmp is in RAM.
I think pack should one of the following:
- delete the temp directory right after build
- do not delete the directory after build and reuse it for subsequent builds
Summary
Temporary files are not deleted (nor reused) after build when using with
podman.The
podmandoesn't support "sparse" tarballs, sopackhas to download builder layers to temp.The issue is that the files are not deleted after build finished.
Even more so when
pack buildis run repeatedly multiple identical temporary directories occupy temp filesystem.This is particularly problematic when
/tmpis in RAM.I think
packshould one of the following: