
Distillery releases with Docker multi-stage builds
This post describes the procedure to create lightweight Docker images, using multi-stage builds, to deploy Elixir applications packaged using Distillery. It is assumed that you’re familiar with Docker and Elixir. Multi-stage builds Since Docker version 17.05 you can have multi-stage builds. With such builds you can have a single Dockerfile contain multiple FROM instructions, separating multiple stages of a build, where artifacts from one stage can be used in the next and all resulting in a single image. … Read more