From fc1ec350b245863467adf861796b2fc39f45ac2d Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 19 Sep 2017 14:41:11 +0200 Subject: [PATCH] add incron --- Dockerfile | 2 +- rootfs/etc/services.d/incron/run | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 rootfs/etc/services.d/incron/run diff --git a/Dockerfile b/Dockerfile index dec61c9..3033155 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ MAINTAINER Sebastian Hugentobler ENV S6_OVERLAY_VERSION=v1.20.0.0 -RUN apk --no-cache add libressl syslog-ng && \ +RUN apk --no-cache add libressl syslog-ng incron && \ wget -qO- https://github.com/just-containers/s6-overlay/releases/download/$S6_OVERLAY_VERSION/s6-overlay-amd64.tar.gz | tar -xz -C / && \ apk del libressl diff --git a/rootfs/etc/services.d/incron/run b/rootfs/etc/services.d/incron/run new file mode 100755 index 0000000..f1a901e --- /dev/null +++ b/rootfs/etc/services.d/incron/run @@ -0,0 +1,3 @@ +#!/usr/bin/with-contenv sh + +exec /usr/sbin/incrond -n