Fixed ARM on CentOS and Ubuntu images

This commit is contained in:
Alexey Pustovalov
2020-12-31 01:40:24 +02:00
15 changed files with 120 additions and 16 deletions

View File

@ -10,7 +10,7 @@ LABEL org.opencontainers.image.title="Zabbix web-interface (Apache, PostgreSQL)"
STOPSIGNAL SIGTERM
RUN set -eux && \
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
groupadd --system --gid 1995 zabbix && \
useradd \
--system --comment "Zabbix monitoring system" \