From e2fb98e070dd1daeba1cc52d1d7b6f268cd06288 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 4 Jun 2019 22:03:49 +0500 Subject: [PATCH] Fixed Zabbix appliance building for Alpine Linux --- zabbix-appliance/alpine/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zabbix-appliance/alpine/Dockerfile b/zabbix-appliance/alpine/Dockerfile index 7babc8a3b..a496732de 100644 --- a/zabbix-appliance/alpine/Dockerfile +++ b/zabbix-appliance/alpine/Dockerfile @@ -138,7 +138,6 @@ RUN set -eux && \ mkdir -p /var/lib/zabbix/ssl/ssl_ca && \ chown --quiet -R zabbix:root /var/lib/zabbix && \ mkdir -p /usr/share/doc/zabbix-${ZBX_TYPE}-${ZBX_DB_TYPE}/ && \ - chown --quiet -R nginx:nginx /usr/share/zabbix/ && \ apk update && \ apk add ${APK_FLAGS_PERSISTENT} \ tini \ @@ -171,6 +170,7 @@ RUN set -eux && \ supervisor \ pcre \ unixodbc && \ + chown --quiet -R nginx:nginx /usr/share/zabbix/ && \ rm -rf /var/cache/apk/* EXPOSE 80/TCP 443/TCP 10051/TCP