Writing Frameworks for Apache Mesos is hard. We created the Mesos Starter project to reduce the amount of boilerplate.
Mesos-Framework is a pre-built version of Mesos-Starter, that allows users to run a binary or Docker container as a Framework via a single configuration file.
This dockerfile is built and pushed by CI. The Dockerfile is located here: https://github.com/ContainerSolutions/mesos-framework/blob/master/docker/Dockerfile
See https://github.com/ContainerSolutions/mesos-framework for more information.