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

Skip cleaning docker cache prior to build #6339

Merged
1 commit merged into from
Apr 2, 2015

Conversation

zmerlynn
Copy link
Member

@zmerlynn zmerlynn commented Apr 2, 2015

This seems to be more trouble than its worth, and much of
the remaining build time (except the push itself). We can
cache the cross-build/golang images between builds - it's
not going to kill us, and it'll save the occasional weird
flake of not finding an image when it tries to rm one of
these.

docker ps -aq | xargs -r docker rm
docker images -q | xargs -r docker rmi
# docker ps -aq | xargs -r docker rm
# docker images -q | xargs -r docker rmi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment to explain what the commented out lines do, and why someone might want to uncomment them.
Other than that, LGTM.

@ghost
Copy link

ghost commented Apr 2, 2015

LGTM barring the one minor nit about a comment. Can be merged.

This seems to be more trouble than its worth, and much of
the remaining build time (except the push itself). We can
cache the cross-build/golang images between builds - it's
not going to kill us, and it'll save the occasional weird
flake of not finding an image when it tries to rm one of
these.
@zmerlynn
Copy link
Member Author

zmerlynn commented Apr 2, 2015

Added a comment.

ghost pushed a commit that referenced this pull request Apr 2, 2015
Skip cleaning docker cache prior to build
@ghost ghost merged commit 46e5ec3 into kubernetes:master Apr 2, 2015
This pull request was closed.
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

Successfully merging this pull request may close these issues.

3 participants