Skip to content

Temporary files are not deleted after build #1167

Description

@matejvasek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueA good first issue to get started with.runtime/podmanSpecific to the Podman container enginestatus/readyIssue ready to be worked on.type/bugIssue that reports an unexpected behaviour.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions