Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Conversation

@pavanetti
Copy link

No description provided.

@pavanetti pavanetti closed this Sep 22, 2019
@pavanetti pavanetti reopened this Sep 22, 2019
@hintcnuie
Copy link

I find some explanation around this:
Tip #1: Order matters for caching

ef41db8f-fe5e-4a78-940a-6a929db7929d-1

However, the order of the build steps (Dockerfile instructions) matters, because when a step’s cache is invalidated by changing files or modifying lines in the Dockerfile, subsequent steps of their cache will break. Order your steps from least to most frequently changing steps to optimize caching.

link: https://www.docker.com/blog/intro-guide-to-dockerfile-best-practices/

One thing more, could you please give more data on how these changes are useful for the cache deps?

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