Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Re-arrange weaveexec Dockerfile to improve download times #1170

Merged
merged 1 commit into from
Jul 17, 2015

Conversation

bboreham
Copy link
Contributor

Combining multiple ADDs on the same line reduces the number of layers, and moving the stuff that doesn't change earlier in the file improves the chance it will re-use that layer from cache.

Empirically, the ADD lines are never cached, so they should come last.

@rade
Copy link
Member

rade commented Jul 17, 2015

I am not especially keen on earlier layers - entrypoint, in this case - depending on later layers. But meh.

rade added a commit that referenced this pull request Jul 17, 2015
Re-arrange weaveexec Dockerfile to improve download times
@rade rade merged commit 47273d4 into master Jul 17, 2015
@rade rade deleted the exec-dockerfile branch July 17, 2015 10:36
@rade rade added this to the 1.1.0 milestone Jul 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants