Using Docker Multi-Stage Builds

Is Dockerfile only for building container images or we can do more with it? How about using Docker multi-stage builds to compile binaries, run tests, and other operations typically performed before building container images?

▬▬▬▬▬▬ 🔗 Additional Info 🔗 ▬▬▬▬▬▬

➡ Gist with the commands: https://gist.github.com/da48772c54dcf09a45bef5d4d778a6e9
🎬 Kaniko: https://youtu.be/EgwVQN6GNJg
🎬 Skaffold: https://youtu.be/qS_4Qf8owc0

▬▬▬▬▬▬ 🚀 Courses, books, and podcasts 🚀 ▬▬▬▬▬▬

📚 DevOps Catalog, Patterns, And Blueprints: https://www.devopstoolkitseries.com/posts/catalog/
📚 Books and courses: https://www.devopstoolkitseries.com
🎤 Podcast: https://www.devopsparadox.com/
💬 Live streams: https://www.youtube.com/c/DevOpsParadox

▬▬▬▬▬▬ 👋 Contact me 👋 ▬▬▬▬▬▬

➡ Follow me on Twitter: https://twitter.com/vfarcic
➡ Follow me on LinkedIn: https://www.linkedin.com/in/viktorfarcic/

2 thoughts on “Using Docker Multi-Stage Builds

  1. Admir Trakic

    Hi Viktor, Sorry for disturbing you, but I have added a public comment on youtube related to your post, but I don’t see it published. Is there any particular reason for that?

    BR, -Admir

    On Thu, 10 Jun 2021 at 15:07, Technology Conversations wrote:

    > Viktor Farcic posted: ” Is Dockerfile only for building container images > or we can do more with it? How about using Docker multi-stage builds to > compile binaries, run tests, and other operations typically performed > before building container images? ▬▬▬▬▬▬ [image: 🔗] Addit” >

    Reply
    1. Viktor Farcic Post author

      It wasn’t me. YouTube tends to delete some comments without any explanation. My best guess is that it does not like links. Did you have a link in your comment? If you did, can you post it again without the link or without https:// part of it? If that’s not the case, feel free to post it here or send me a direct message on linkedin or twitter.

      Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s