Talk in English - US at phpday 2019
View Slides: https://speakerdeck.com/abdala/docker-multi-stage-and-multi-environment
Short URL: https://joind.in/talk/3e7bc (QR-Code (opens in new window))
It’s difficult to work on a project nowadays that does not support Docker. Surely, it is market standard and when we have more and more Dockerfiles it becomes hard to manage all dependencies and all possible environment setting. In this talk I’ll present how it is possible to use only one Dockerfile per project and continue creating safe, small and multi-environment images. Also, I’ll introduce the Multi-Stage technique and how we can use it together with docker-compose to maximize our development experience. Finally, we’ll end up with a better build time, clean images that contain just what’s really needed and control almost everything.