Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

improve docker build caching #1045

Merged
merged 2 commits into from
Nov 1, 2018

Conversation

azban
Copy link

@azban azban commented Oct 31, 2018

  1. by installing cargo deps before copying code, we don't have to reinstall deps every time code changes
  2. by adding Dockerfile and .dockerignore to the .dockerignore, we don't have to rebuild every time while testing Docker changes

@azban
Copy link
Author

azban commented Oct 31, 2018

@chevdor @gavofyork

@gavofyork gavofyork merged commit 0a10971 into paritytech:master Nov 1, 2018
chevdor pushed a commit to chevdor/substrate that referenced this pull request Nov 1, 2018
* docker: add Dockerfile and .dockerignore to .dockerignore

* docker: install cargo deps before copying code
@azban azban deleted the enhancement/docker-speedup branch November 3, 2018 10:35
lamafab pushed a commit to lamafab/substrate that referenced this pull request Jun 16, 2020
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