-
Notifications
You must be signed in to change notification settings - Fork 692
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
Lazy container pull (aka only download image when it is really needed) #1745
Comments
Good news: I have a working prototype. The general idea is rather simple:
Generated BUILD file looks like this:
When
Here is the list of changed files:
It would be a HUGE time saver and pain reliever for my development team. Would you guys consider this a useful feature worth sending a PR for? |
Here is the PR #1749 |
FYI @alexeagle @pcj @gravypod Thanks for filing the issue @igorgatis and sorry for the delay getting back here. We have some new community maintainers for rules_docker (cc'd) ramping up and we should be able to start addressing open issues and PRs within a few weeks. The major blocker right now is CI setup for e2e tests need to be fixed and they are crucial to validate puller & pusher functionality. Once e2e tests are up and running again, reviewing your PR should be unblocked. |
Any news? |
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days. |
Can we push some container_layers directly and define a func container_manifest, so that we can commit a image like git rebase |
I'd like to provide a tool named 'image_rebaser', we can call it like but how to make it compatible with container_bundle or containerd_push. it's a troublesome thing. |
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days. |
This issue was automatically closed because it went 30 days without a reply since it was labeled "Can Close?" |
I'd like to be able to list several docker images as part of my WORKSPACE but only download the actual image if the target I'm building needs it.
Right now, if you list a container image as part of the WORKSPACE, they will be download even for bazel queries.
How hard is it to have a lazy version of container_pull?
This is a problem in my company. We have this monorepo with several large container images. Even though each individual developer spends most of his/her time targeting a specific container, eventually they need to download everything, for example, when pre submit hook performs a bazel query deps to figure out which tests are affected. This has been a growing pain.
The text was updated successfully, but these errors were encountered: