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 \