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

feature request: integrate with github caching action #250

Open
ontoneio opened this issue Jul 18, 2023 · 1 comment
Open

feature request: integrate with github caching action #250

ontoneio opened this issue Jul 18, 2023 · 1 comment

Comments

@ontoneio
Copy link

https://github.com/actions/cache

Be nice to speed up the builds using the github cache feature even though its pretty new. Give us bleeding edge! 🚩

Specifically maybe:

  • Use the same API
  • Allow runtime dependencies or devcontainer features to be automagically cached (seems like the rebuild every time even on prebuild)
  • Support application level dependencies caching automagically via the setup-* packages API

Thanks!

@ontoneio ontoneio changed the title feature: integrate with github caching action feature request: integrate with github caching action Jul 18, 2023
@cjam
Copy link

cjam commented Mar 13, 2024

Wow this would be amazing. Anyone have any ideas on how the features could be cached? I'm trying to prebuild my devcontainer image which has a number of features but it doesn't seem to use the cache for the features, just always does a rebuild.

There's also this issue #225 to circumvent the long build process and just run the container. I think if we could cache the features layers we'd likely see the build step be much faster.

But I'm not sure what would be necessary to cache the features. It seems like the features are currently being put into a named volume anyways. Perhaps if there was a way to override that volume and put it on disk then the github cache could be used to store it.

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

2 participants