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

Add --no-cache to tell apk to not cache packages #1680

Merged
merged 3 commits into from Dec 2, 2019

Conversation

@robbyoconnor
Copy link
Contributor

robbyoconnor commented Aug 18, 2019

  1. Add --no-cache to apk upgrade and apk add calls. This eliminates the need to delete the package cache.

  2. Some other minor optimizations mostly around metadata where order does not matter, but you want to delay cache invalidation.

@robbyoconnor robbyoconnor force-pushed the robbyoconnor:patch-1 branch from b4b8bf4 to d382ebf Aug 18, 2019
Add --no-cache to apk upgrade and apk add calls.
@robbyoconnor robbyoconnor force-pushed the robbyoconnor:patch-1 branch from d382ebf to 906320d Aug 18, 2019
@robbyoconnor robbyoconnor changed the title Update Dockerfile Add --no-cache to tell apk to not cache packages, this eliminates the need to delete the package cache. Aug 18, 2019
@robbyoconnor robbyoconnor changed the title Add --no-cache to tell apk to not cache packages, this eliminates the need to delete the package cache. Add --no-cache to tell apk to not cache packages Aug 18, 2019
…top in efforts to delay cache invalidation
..
@dalf dalf added the docker label Aug 19, 2019
Copy link
Owner

asciimoo left a comment

Thanks!

@asciimoo asciimoo merged commit 1bb46e5 into asciimoo:master Dec 2, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.