mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-28 18:53:10 +01:00
Fixed ARM on CentOS and Ubuntu images
This commit is contained in:
commit
3148bcf43e
@ -12,6 +12,16 @@ STOPSIGNAL SIGTERM
|
|||||||
ENV TINI_VERSION=v0.19.0
|
ENV TINI_VERSION=v0.19.0
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
case "$ARCH_SUFFIX" in \
|
||||||
|
i686) export ARCH_SUFFIX='i386' ;; \
|
||||||
|
x86_64) [ -f /lib64/ld-linux-x86-64.so.2 ] && export ARCH_SUFFIX='amd64' || export ARCH_SUFFIX='i386' ;; \
|
||||||
|
aarch64) export ARCH_SUFFIX='arm64' ;; \
|
||||||
|
armv7l) export ARCH_SUFFIX='armhf' ;; \
|
||||||
|
ppc64el|ppc64le) export ARCH_SUFFIX='ppc64le' ;; \
|
||||||
|
s390x) export ARCH_SUFFIX='s390x' ;; \
|
||||||
|
*) echo "Unknown ARCH_SUFFIX=${ARCH_SUFFIX-}"; exit 1 ;; \
|
||||||
|
esac; \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
@ -31,8 +41,8 @@ RUN set -eux && \
|
|||||||
zlib \
|
zlib \
|
||||||
tzdata \
|
tzdata \
|
||||||
openssl-libs && \
|
openssl-libs && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" -o /sbin/tini && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini.asc" -o /tmp/tini.asc && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
||||||
export GNUPGHOME="$(mktemp -d)" && \
|
export GNUPGHOME="$(mktemp -d)" && \
|
||||||
for server in $(shuf -e ha.pool.sks-keyservers.net \
|
for server in $(shuf -e ha.pool.sks-keyservers.net \
|
||||||
hkp://p80.pool.sks-keyservers.net:80 \
|
hkp://p80.pool.sks-keyservers.net:80 \
|
||||||
|
@ -10,7 +10,17 @@ LABEL org.opencontainers.image.title="Zabbix agent" \
|
|||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
case "$ARCH_SUFFIX" in \
|
||||||
|
i686) export ARCH_SUFFIX='i386' ;; \
|
||||||
|
x86_64) [ -f /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ] && export ARCH_SUFFIX='amd64' || export ARCH_SUFFIX='i386' ;; \
|
||||||
|
aarch64) export ARCH_SUFFIX='arm64' ;; \
|
||||||
|
armv7l) export ARCH_SUFFIX='armhf' ;; \
|
||||||
|
ppc64el|ppc64le) export ARCH_SUFFIX='ppc64le' ;; \
|
||||||
|
s390x) export ARCH_SUFFIX='s390x' ;; \
|
||||||
|
*) echo "Unknown ARCH_SUFFIX=${ARCH_SUFFIX-}"; exit 1 ;; \
|
||||||
|
esac; \
|
||||||
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
|
@ -10,7 +10,7 @@ LABEL org.opencontainers.image.title="Zabbix Java Gateway" \
|
|||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
RUN set -eux && \
|
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 && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
|
@ -12,6 +12,16 @@ STOPSIGNAL SIGTERM
|
|||||||
ENV TINI_VERSION=v0.19.0
|
ENV TINI_VERSION=v0.19.0
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
case "$ARCH_SUFFIX" in \
|
||||||
|
i686) export ARCH_SUFFIX='i386' ;; \
|
||||||
|
x86_64) [ -f /lib64/ld-linux-x86-64.so.2 ] && export ARCH_SUFFIX='amd64' || export ARCH_SUFFIX='i386' ;; \
|
||||||
|
aarch64) export ARCH_SUFFIX='arm64' ;; \
|
||||||
|
armv7l) export ARCH_SUFFIX='armhf' ;; \
|
||||||
|
ppc64el|ppc64le) export ARCH_SUFFIX='ppc64le' ;; \
|
||||||
|
s390x) export ARCH_SUFFIX='s390x' ;; \
|
||||||
|
*) echo "Unknown ARCH_SUFFIX=${ARCH_SUFFIX-}"; exit 1 ;; \
|
||||||
|
esac; \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
@ -51,8 +61,8 @@ RUN set -eux && \
|
|||||||
pcre \
|
pcre \
|
||||||
zlib \
|
zlib \
|
||||||
unixODBC && \
|
unixODBC && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" -o /sbin/tini && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini.asc" -o /tmp/tini.asc && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
||||||
export GNUPGHOME="$(mktemp -d)" && \
|
export GNUPGHOME="$(mktemp -d)" && \
|
||||||
for server in $(shuf -e ha.pool.sks-keyservers.net \
|
for server in $(shuf -e ha.pool.sks-keyservers.net \
|
||||||
hkp://p80.pool.sks-keyservers.net:80 \
|
hkp://p80.pool.sks-keyservers.net:80 \
|
||||||
|
@ -10,7 +10,17 @@ LABEL org.opencontainers.image.title="Zabbix proxy (MySQL)" \
|
|||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
case "$ARCH_SUFFIX" in \
|
||||||
|
i686) export ARCH_SUFFIX='i386' ;; \
|
||||||
|
x86_64) [ -f /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ] && export ARCH_SUFFIX='amd64' || export ARCH_SUFFIX='i386' ;; \
|
||||||
|
aarch64) export ARCH_SUFFIX='arm64' ;; \
|
||||||
|
armv7l) export ARCH_SUFFIX='armhf' ;; \
|
||||||
|
ppc64el|ppc64le) export ARCH_SUFFIX='ppc64le' ;; \
|
||||||
|
s390x) export ARCH_SUFFIX='s390x' ;; \
|
||||||
|
*) echo "Unknown ARCH_SUFFIX=${ARCH_SUFFIX-}"; exit 1 ;; \
|
||||||
|
esac; \
|
||||||
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
|
@ -12,6 +12,16 @@ STOPSIGNAL SIGTERM
|
|||||||
ENV TINI_VERSION=v0.19.0
|
ENV TINI_VERSION=v0.19.0
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
case "$ARCH_SUFFIX" in \
|
||||||
|
i686) export ARCH_SUFFIX='i386' ;; \
|
||||||
|
x86_64) [ -f /lib64/ld-linux-x86-64.so.2 ] && export ARCH_SUFFIX='amd64' || export ARCH_SUFFIX='i386' ;; \
|
||||||
|
aarch64) export ARCH_SUFFIX='arm64' ;; \
|
||||||
|
armv7l) export ARCH_SUFFIX='armhf' ;; \
|
||||||
|
ppc64el|ppc64le) export ARCH_SUFFIX='ppc64le' ;; \
|
||||||
|
s390x) export ARCH_SUFFIX='s390x' ;; \
|
||||||
|
*) echo "Unknown ARCH_SUFFIX=${ARCH_SUFFIX-}"; exit 1 ;; \
|
||||||
|
esac; \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
@ -48,8 +58,8 @@ RUN set -eux && \
|
|||||||
pcre \
|
pcre \
|
||||||
zlib \
|
zlib \
|
||||||
unixODBC && \
|
unixODBC && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" -o /sbin/tini && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini.asc" -o /tmp/tini.asc && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
||||||
export GNUPGHOME="$(mktemp -d)" && \
|
export GNUPGHOME="$(mktemp -d)" && \
|
||||||
for server in $(shuf -e ha.pool.sks-keyservers.net \
|
for server in $(shuf -e ha.pool.sks-keyservers.net \
|
||||||
hkp://p80.pool.sks-keyservers.net:80 \
|
hkp://p80.pool.sks-keyservers.net:80 \
|
||||||
|
@ -10,7 +10,17 @@ LABEL org.opencontainers.image.title="Zabbix proxy (SQLite3)" \
|
|||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
case "$ARCH_SUFFIX" in \
|
||||||
|
i686) export ARCH_SUFFIX='i386' ;; \
|
||||||
|
x86_64) [ -f /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ] && export ARCH_SUFFIX='amd64' || export ARCH_SUFFIX='i386' ;; \
|
||||||
|
aarch64) export ARCH_SUFFIX='arm64' ;; \
|
||||||
|
armv7l) export ARCH_SUFFIX='armhf' ;; \
|
||||||
|
ppc64el|ppc64le) export ARCH_SUFFIX='ppc64le' ;; \
|
||||||
|
s390x) export ARCH_SUFFIX='s390x' ;; \
|
||||||
|
*) echo "Unknown ARCH_SUFFIX=${ARCH_SUFFIX-}"; exit 1 ;; \
|
||||||
|
esac; \
|
||||||
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
|
@ -12,6 +12,16 @@ STOPSIGNAL SIGTERM
|
|||||||
ENV TINI_VERSION=v0.19.0
|
ENV TINI_VERSION=v0.19.0
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
case "$ARCH_SUFFIX" in \
|
||||||
|
i686) export ARCH_SUFFIX='i386' ;; \
|
||||||
|
x86_64) [ -f /lib64/ld-linux-x86-64.so.2 ] && export ARCH_SUFFIX='amd64' || export ARCH_SUFFIX='i386' ;; \
|
||||||
|
aarch64) export ARCH_SUFFIX='arm64' ;; \
|
||||||
|
armv7l) export ARCH_SUFFIX='armhf' ;; \
|
||||||
|
ppc64el|ppc64le) export ARCH_SUFFIX='ppc64le' ;; \
|
||||||
|
s390x) export ARCH_SUFFIX='s390x' ;; \
|
||||||
|
*) echo "Unknown ARCH_SUFFIX=${ARCH_SUFFIX-}"; exit 1 ;; \
|
||||||
|
esac; \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
@ -55,8 +65,8 @@ RUN set -eux && \
|
|||||||
pcre \
|
pcre \
|
||||||
zlib \
|
zlib \
|
||||||
unixODBC && \
|
unixODBC && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" -o /sbin/tini && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini.asc" -o /tmp/tini.asc && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
||||||
export GNUPGHOME="$(mktemp -d)" && \
|
export GNUPGHOME="$(mktemp -d)" && \
|
||||||
for server in $(shuf -e ha.pool.sks-keyservers.net \
|
for server in $(shuf -e ha.pool.sks-keyservers.net \
|
||||||
hkp://p80.pool.sks-keyservers.net:80 \
|
hkp://p80.pool.sks-keyservers.net:80 \
|
||||||
|
@ -10,6 +10,17 @@ LABEL org.opencontainers.image.title="Zabbix server (MySQL)" \
|
|||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
case "$ARCH_SUFFIX" in \
|
||||||
|
i686) export ARCH_SUFFIX='i386' ;; \
|
||||||
|
x86_64) [ -f /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ] && export ARCH_SUFFIX='amd64' || export ARCH_SUFFIX='i386' ;; \
|
||||||
|
aarch64) export ARCH_SUFFIX='arm64' ;; \
|
||||||
|
armv7l) export ARCH_SUFFIX='armhf' ;; \
|
||||||
|
ppc64el|ppc64le) export ARCH_SUFFIX='ppc64le' ;; \
|
||||||
|
s390x) export ARCH_SUFFIX='s390x' ;; \
|
||||||
|
*) echo "Unknown ARCH_SUFFIX=${ARCH_SUFFIX-}"; exit 1 ;; \
|
||||||
|
esac; \
|
||||||
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
|
@ -12,6 +12,16 @@ STOPSIGNAL SIGTERM
|
|||||||
ENV TINI_VERSION=v0.19.0
|
ENV TINI_VERSION=v0.19.0
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
case "$ARCH_SUFFIX" in \
|
||||||
|
i686) export ARCH_SUFFIX='i386' ;; \
|
||||||
|
x86_64) [ -f /lib64/ld-linux-x86-64.so.2 ] && export ARCH_SUFFIX='amd64' || export ARCH_SUFFIX='i386' ;; \
|
||||||
|
aarch64) export ARCH_SUFFIX='arm64' ;; \
|
||||||
|
armv7l) export ARCH_SUFFIX='armhf' ;; \
|
||||||
|
ppc64el|ppc64le) export ARCH_SUFFIX='ppc64le' ;; \
|
||||||
|
s390x) export ARCH_SUFFIX='s390x' ;; \
|
||||||
|
*) echo "Unknown ARCH_SUFFIX=${ARCH_SUFFIX-}"; exit 1 ;; \
|
||||||
|
esac; \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
@ -55,8 +65,8 @@ RUN set -eux && \
|
|||||||
postgresql-libs \
|
postgresql-libs \
|
||||||
zlib \
|
zlib \
|
||||||
unixODBC && \
|
unixODBC && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" -o /sbin/tini && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini.asc" -o /tmp/tini.asc && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
||||||
export GNUPGHOME="$(mktemp -d)" && \
|
export GNUPGHOME="$(mktemp -d)" && \
|
||||||
for server in $(shuf -e ha.pool.sks-keyservers.net \
|
for server in $(shuf -e ha.pool.sks-keyservers.net \
|
||||||
hkp://p80.pool.sks-keyservers.net:80 \
|
hkp://p80.pool.sks-keyservers.net:80 \
|
||||||
|
@ -10,6 +10,17 @@ LABEL org.opencontainers.image.title="Zabbix server (PostgreSQL)" \
|
|||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
|
case "$ARCH_SUFFIX" in \
|
||||||
|
i686) export ARCH_SUFFIX='i386' ;; \
|
||||||
|
x86_64) [ -f /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ] && export ARCH_SUFFIX='amd64' || export ARCH_SUFFIX='i386' ;; \
|
||||||
|
aarch64) export ARCH_SUFFIX='arm64' ;; \
|
||||||
|
armv7l) export ARCH_SUFFIX='armhf' ;; \
|
||||||
|
ppc64el|ppc64le) export ARCH_SUFFIX='ppc64le' ;; \
|
||||||
|
s390x) export ARCH_SUFFIX='s390x' ;; \
|
||||||
|
*) echo "Unknown ARCH_SUFFIX=${ARCH_SUFFIX-}"; exit 1 ;; \
|
||||||
|
esac; \
|
||||||
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
|
@ -10,7 +10,7 @@ LABEL org.opencontainers.image.title="Zabbix web-interface (Apache, MySQL)" \
|
|||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
RUN set -eux && \
|
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 && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
|
@ -10,7 +10,7 @@ LABEL org.opencontainers.image.title="Zabbix web-interface (Apache, PostgreSQL)"
|
|||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
RUN set -eux && \
|
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 && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
|
@ -10,6 +10,7 @@ LABEL org.opencontainers.image.title="Zabbix web-interface (Nginx, MySQL)" \
|
|||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
|
@ -10,6 +10,7 @@ LABEL org.opencontainers.image.title="Zabbix web-interface (Nginx, PostgreSQL)"
|
|||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
|
Loading…
Reference in New Issue
Block a user