Completed
Example project
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Dockerfile Best Practices
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Pocket Guide
- 3 Quick refresher on Images
- 4 Quick refresher on Build
- 5 Areas of improvements
- 6 Example project
- 7 Order matters for caching
- 8 More specific COPY to limit cache bust
- 9 Line buddies: apt-get update & install
- 10 Remove unnecessary dependencies
- 11 Use --no-install-recommends
- 12 Remove package manager cache
- 13 Reuse official images when possible
- 14 Use more specific tags
- 15 Build from source in a consistent environment
- 16 Cache dependencies
- 17 Identify build dependencies
- 18 Multi-stage builds to remove build deps
- 19 Multi-stage usecases
- 20 Various environments: build, dev, test, lint,...
- 21 Multi-stage: build concurrently
- 22 Benchmarks
- 23 Supercharged Docker Build with BuildKit
- 24 Context mounts (v18.09 only)
- 25 Application cache (v18.09 only)
- 26 Improvements recap