Skip to content
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

A way to cache the blob-info-cache-v1.sqlite file by nix #147

Open
guskovd opened this issue Aug 8, 2024 · 0 comments
Open

A way to cache the blob-info-cache-v1.sqlite file by nix #147

guskovd opened this issue Aug 8, 2024 · 0 comments

Comments

@guskovd
Copy link

guskovd commented Aug 8, 2024

It looks very similar to the fact that nix2container uses a file as a cache between launches
blob-info-cache-v1.sqlite file:

  • ~/.local/share/containers/cache/blob-info-cache-v1.sqlite for user
  • /var/lib/containers/cache/blob-info-cache-v1.sqlite for root

This behavior seems normal for the skopeo application, but I would like the nix2container application to be able to generate this file itself and store it in /nix/store along with the layers in json format.

This could help a lot in cases where docker images are built in CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant