From 351d95299f0409d0aac41a6522aa33afbc9f7a34 Mon Sep 17 00:00:00 2001 From: Seti Date: Fri, 22 May 2020 16:53:14 +0200 Subject: [PATCH] Add missing dep and perms for Weathermap plugin (#82) --- Dockerfile | 1 + rootfs/etc/cont-init.d/02-fix-perms.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e6b5857..ae44964 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,6 +57,7 @@ RUN apk --update --no-cache add \ php7-openssl \ php7-pdo \ php7-pdo_mysql \ + php7-pear \ php7-phar \ php7-posix \ php7-session \ diff --git a/rootfs/etc/cont-init.d/02-fix-perms.sh b/rootfs/etc/cont-init.d/02-fix-perms.sh index e763d7d..485c1de 100644 --- a/rootfs/etc/cont-init.d/02-fix-perms.sh +++ b/rootfs/etc/cont-init.d/02-fix-perms.sh @@ -6,7 +6,8 @@ mkdir -p /data \ /var/run/php-fpm chown librenms. \ /data \ - "${LIBRENMS_PATH}" + "${LIBRENMS_PATH}" \ + "${LIBRENMS_PATH}/html/plugins/Weathermap/output" chown -R librenms. \ /tpls \ /var/lib/nginx \