This repository has been archived by the owner on May 28, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docker] Combine apt-get update with apt-get install.
Running RUN apt-get update by itself will cause it to use the cache when rebuilding the dockerfile. This can lead to apt-get installs failing when updating programs. The preferred method is RUN apt-get update && apt-get install -y <any apt-get installs you need>. this will force apt-get update to run when any package is updated, or new ones are installed. moby/moby#3313
- Loading branch information