15 Commits

Author SHA1 Message Date
David Coppit
e65260ff52 Move to Alpine linux
Based on https://github.com/sanjeevan/baseimage

Image size reduced from 232MB to 90MB

Also make the change monitors more like services that restart if they crash
2018-08-17 21:20:10 -04:00
David Coppit
ea20522b36 Fix empty continuation line warning. 2018-01-21 12:56:13 -05:00
David Coppit
502596a8da Switch to phusion's init and service run system 2017-05-14 23:23:17 -04:00
David Coppit
7ed3d92e8b New implementation using Python and "watchdog"
This version collects the events in a separate thread, and doesn't gobble up events. So hopefully it's more robust, in
addition to being easier to read.

One downside of using the "watchdog" module is that it only exposes file/dir modification events. So if I ever want to
keep track of opened files, I'll have to call inotifywait again.
2017-04-01 23:23:05 -04:00
David Coppit
6630a0e57d Set the locale to utf-8
Helps programs to deal with non-ascii filenames
2017-04-01 23:05:27 -04:00
David Coppit
982026ee9c Minor Dockerfile cleanup 2017-04-01 23:05:09 -04:00
David Coppit
6e641bb562 Bump the version of the Phusion base image 2017-04-01 23:04:42 -04:00
David Coppit
a301031a63 Bump base image to 0.9.17 2015-10-18 14:41:35 -04:00
David Coppit
44f8af4a50 Split up the mapping of IDs from "runas".
Also have config files specify their user/group IDs for the commands.
2015-06-25 23:41:40 -04:00
David Coppit
16de1d2b38 Fix UGID env var 2015-06-24 13:08:48 -04:00
David Coppit
149c82a063 Cleanup and dxcumentation for new file ownership feature. 2015-06-24 12:45:44 -04:00
David Coppit
b9381fe94e Change "watch1" to "dir1" 2015-06-24 08:10:25 -04:00
David Coppit
e1300c6c52 Add missing monitor script to image build 2015-06-24 06:41:12 -04:00
David Coppit
5bebbfad91 Change the container to be a general inotify container. 2015-06-24 00:15:38 -04:00
David Coppit
230abbb5c4 Initial version 2015-06-23 21:53:08 -04:00