This image is build form a staticaly compiled monkey server via dockerize. Thus reducing the size of the image to 3MB, including default website.
Many thanks to hypriots for its work and posts... it obviously inspired most of this work.
The sources of this image can be found on github:
Simply use "make"...But
To be able to compile haproxy staticaly a few dependencies must be met. So you can first:
An then you can build the image
This will download monkey sources and compiles... If you run on a pi1 this might be the right time to go to the restaurant...
The monkey binary will be installed in /usr/local/bin.
Test the image
And push it to the docker hub
The erase the sources and builds
docker run -d -p 80:80 cblomart/rpi-monkey
docker run -d -p 80:80 -v <config-dir>:/etc/monkey -v <data-dir>:/var/www cblomart/rpi-monkey
<config-dir> is an absolute path of a directory containing the monkey config folder.
<data-dir> is an absolute path of a directory containing the web site.