Zum Inhalt springen

Details

Are you using Docker images for deploying your apps?
​
AWS services like ECS and EKS needs lean builds(can make the process slower). On the other side, CI/CD and local development need faster builds(can get output bulky).
​
In this talk, Naren will show you a few strategies for optimizing your docker builds against time and size. You will see with various examples of possible optimizations and trade-offs.
​
Theme:

  1. To show what impacts time and size while building a Docker image
  2. How to optimize for time?
  3. How to optimize for size?
  4. Can we achieve both 2 & 3?
    ​
    Agenda:
    -------
  • Choosing the right base image (Slim, Alpine, etc.)
  • Build time. vs run time dependencies
  • Importance of Docker layers
  • Multi-stage building
  • Using squid proxy for caching the re-installable packages
  • Digging deep for junk in images
    ​
    The final example: Deploying a Django application with Wheel(No eggs) and multi-stage builds.

We will also livestream the event!
https://stream.dev-night.io/

### You want to give a talk?
Just submit your session through an issue here (https://github.com/dev-night/talks/issues).

Verwandte Themen

Das könnte dir auch gefallen