This repository contains Dockerfile. Analysing the Dockerfile one can get an overview how to install Monit from source.