Alex Collins - Developing With Docker - Building Patterns
This is my 4th post on developing with Docker. In this post deals with some common ways you can build Docker images.
I'm going to assuming you've already packaged your application (e.g. into a JAR).
There are several choices: scratch + binary, language stack, and distro + package manager.
As usual, you can find the source code on Github.
Scratch + Binary
Scratch is the most basic base image, it does not contain any files or programs at all. You must build a standalone binary application if you are going to use this. Lets see an example.
Read full article from Alex Collins - Developing With Docker - Building Patterns
No comments:
Post a Comment