mirror of https://github.com/docker/docs.git
This is a bit of a draft, but I came across this issue in the documentation. When I searched for `docker apt-get` I found this page and copy-pasted the first example, but then I remembered it's best practice to install all packages at once and after that clear the `lists` to minimize the image size. Putting the example with all best practices first might help newer docker users to produce smaller images. |
||
---|---|---|
.. | ||
baseimages.md | ||
build_enhancements.md | ||
dockerfile_best-practices.md | ||
image_management.md | ||
multistage-build.md |