I’ve created a complete working example and simple tutorial that should help anyone trying to develop a Phoenix app using a Mac, and deploy to some flavor of Linux.
This approach uses docker + edeliver + distillery to build and deploy Phoenix releases and updates.
The code and step-by-step tutorial is available on github.
This explains how to develop on a Mac, create releases for Ubuntu 16.04 (or any other flavor) using docker, and to deploy to Ubuntu with edeliver.
I hope this helps other trying to setup and use a similar config.