mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-02 12:43:31 +01:00
Fixed Zabbix appliance building for Alpine Linux
This commit is contained in:
parent
58148d0598
commit
6ad441dc2c
@ -137,7 +137,6 @@ RUN set -eux && \
|
|||||||
mkdir -p /var/lib/zabbix/ssl/keys && \
|
mkdir -p /var/lib/zabbix/ssl/keys && \
|
||||||
mkdir -p /var/lib/zabbix/ssl/ssl_ca && \
|
mkdir -p /var/lib/zabbix/ssl/ssl_ca && \
|
||||||
chown --quiet -R zabbix:root /var/lib/zabbix && \
|
chown --quiet -R zabbix:root /var/lib/zabbix && \
|
||||||
chown --quiet -R nginx:nginx /usr/share/zabbix && \
|
|
||||||
mkdir -p /usr/share/doc/zabbix-${ZBX_TYPE}-${ZBX_DB_TYPE}/ && \
|
mkdir -p /usr/share/doc/zabbix-${ZBX_TYPE}-${ZBX_DB_TYPE}/ && \
|
||||||
apk update && \
|
apk update && \
|
||||||
apk add ${APK_FLAGS_PERSISTENT} \
|
apk add ${APK_FLAGS_PERSISTENT} \
|
||||||
@ -171,6 +170,7 @@ RUN set -eux && \
|
|||||||
supervisor \
|
supervisor \
|
||||||
pcre \
|
pcre \
|
||||||
unixodbc && \
|
unixodbc && \
|
||||||
|
chown --quiet -R nginx:nginx /usr/share/zabbix && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
EXPOSE 80/TCP 443/TCP 10051/TCP
|
EXPOSE 80/TCP 443/TCP 10051/TCP
|
||||||
|
Loading…
Reference in New Issue
Block a user