-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
example of rebuild logic for Docker images #422
Comments
One interesting thing that we've surfaced on the CLI is the https://github.com/GoogleContainerTools/skaffold/blob/master/docs/docker-commands.md
I thought if users couldn't commit to the full skaffold workflow, they could at least refactor their Makefile to use some of the logic that we use for conditional rebuilds. |
There is also a command for generating minimal docker context tarballs from the dependencies |
@r2d4 thanks, that's very good to hear! I'll take a look at the implementation at some point, and try to reflect how it relates to what's here. I'd like to keep this open until I had a chance to do that. |
Is there anything left to do for this issue? |
I think that this should be fixed by #661 |
I would like to share a
Makefile
I wrote for one JavaScript project, I think it maybe of some interest. It's not the prettiest piece of code and can be refactored, but it's works very well as is. If it is of interest, I'd be happy to take stab at a PR that implements something similar.To be clear, one can certainly optimise
Dockerfile
(and.dockerignore
etc) fairly well (although it's not always trivial), however copying the context take some time and it can be avoided in many cases when there are no actual changes.The text was updated successfully, but these errors were encountered: