Docker Ignore
Limiting what is visible to a build
Although building images for Docker is pretty simple, it is easy to end up creating extremely large images which can be easily fixed if the builds are done correctly limiting the final image sizes.
Each section below covers different methods that can be used together to build better images.
Limiting what is visible to a build
Break up your builds into stages
Ordering stages to be more efficient
Installing Packages efficiently
Cleaning up after builds