-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temporary files are not deleted after build #1167
Comments
Seems reusing might be against https://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#TMPTEMPORARYFILES |
Comments from Platform Sync.
|
@dwillist I think this is related to ephemeral builder. The thing is that While such an archive missing layer is not 100% valid Some changes had to be done to fix it #925, buildpacks/imgutil#81.
|
Could you test this with the latest pack version? I tried to reproduce it today and after building a sample java app, I checked my |
Summary
Temporary files are not deleted (nor reused) after build when using with
podman
.The
podman
doesn't support "sparse" tarballs, sopack
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:The text was updated successfully, but these errors were encountered: