This is a size optimized image for running motioneye - is a web-based frontend for motion.The image is created using a process that builds up the executable from the sources taken from the various repositories (from Github). It is built starting from the f2hex/armhf-motion image and it includes the following components:
- an ARM based build of python 2.7 based on Egenix PyRun
- the following python packages (needed by motioneye): jinja2, tornado, pillow, pycurl
- motioneye itself
The repository with the builder script is here.
The image contains only the very minimal needed files, also all the python source files have been removed (just 78MB) and uses as base image f2hex/armhf-motion.
This is the recommended way to start the Container:
#!/bin/bash VOL_CONFIG="/mnt/survpad/test/me/config:/etc/motioneye" VOL_RUN="/mnt/survpad/test/me/run:/var/run/motioneye" VOL_LOG="/mnt/survpad/test/me/log:/var/log/motioneye" VOL_MEDIA="/mnt/survpad/test/me/media:/var/lib/motioneye" VOL_TZFIX="/etc/localtime:/etc/localtime:ro" docker run \ -d \ -h odin-motioneye \ -v $VOL_CONFIG \ -v $VOL_RUN \ -v $VOL_MEDIA \ -v $VOL_LOG \ -v $VOL_TZFIX \ -p 9191:8765 \ f2hex/armhf-motioneye:latest