Quick-tip: Elixir Distillery multi release
In the distillery rel/config.exs one can specify several releases. In my case I had an umbrella with two different applications with a shared dependency in the same umbrella, and wanted two different docker images.