mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-14 11:54:42 +01:00
Fix SNMP MIB files location
This commit is contained in:
parent
593ca5d524
commit
98934a3141
@ -6,7 +6,7 @@ ARG APK_FLAGS_PERSISTANT="${APK_FLAGS_COMMON} --clean-protected --no-cache"
|
|||||||
ARG APK_FLAGS_DEV="${APK_FLAGS_COMMON} --no-cache"
|
ARG APK_FLAGS_DEV="${APK_FLAGS_COMMON} --no-cache"
|
||||||
ARG DB_TYPE=mysql
|
ARG DB_TYPE=mysql
|
||||||
ENV TERM=xterm
|
ENV TERM=xterm
|
||||||
ENV MIBDIRS=/var/lib/zabbix/mibs MIBS=+ALL
|
ENV MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL
|
||||||
|
|
||||||
RUN addgroup zabbix && \
|
RUN addgroup zabbix && \
|
||||||
adduser -S \
|
adduser -S \
|
||||||
|
@ -6,7 +6,7 @@ ARG APT_FLAGS_PERSISTANT="${APT_FLAGS_COMMON} --no-install-recommends"
|
|||||||
ARG APT_FLAGS_DEV="${APT_FLAGS_COMMON} --no-install-recommends"
|
ARG APT_FLAGS_DEV="${APT_FLAGS_COMMON} --no-install-recommends"
|
||||||
ARG DB_TYPE=mysql
|
ARG DB_TYPE=mysql
|
||||||
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 DEBIAN_FRONTEND=noninteractive TERM=xterm
|
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 DEBIAN_FRONTEND=noninteractive TERM=xterm
|
||||||
ENV MIBDIRS=/var/lib/zabbix/mibs MIBS=+ALL
|
ENV MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL
|
||||||
|
|
||||||
RUN locale-gen $LC_ALL && \
|
RUN locale-gen $LC_ALL && \
|
||||||
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
||||||
|
@ -6,7 +6,7 @@ ARG APK_FLAGS_PERSISTANT="${APK_FLAGS_COMMON} --clean-protected --no-cache"
|
|||||||
ARG APK_FLAGS_DEV="${APK_FLAGS_COMMON} --no-cache"
|
ARG APK_FLAGS_DEV="${APK_FLAGS_COMMON} --no-cache"
|
||||||
ARG DB_TYPE=sqlite3
|
ARG DB_TYPE=sqlite3
|
||||||
ENV TERM=xterm
|
ENV TERM=xterm
|
||||||
ENV MIBDIRS=/var/lib/zabbix/mibs MIBS=+ALL
|
ENV MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL
|
||||||
|
|
||||||
RUN addgroup zabbix && \
|
RUN addgroup zabbix && \
|
||||||
adduser -S \
|
adduser -S \
|
||||||
|
@ -6,7 +6,7 @@ ARG APT_FLAGS_PERSISTANT="${APT_FLAGS_COMMON} --no-install-recommends"
|
|||||||
ARG APT_FLAGS_DEV="${APT_FLAGS_COMMON} --no-install-recommends"
|
ARG APT_FLAGS_DEV="${APT_FLAGS_COMMON} --no-install-recommends"
|
||||||
ARG DB_TYPE=sqlite3
|
ARG DB_TYPE=sqlite3
|
||||||
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 DEBIAN_FRONTEND=noninteractive TERM=xterm
|
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 DEBIAN_FRONTEND=noninteractive TERM=xterm
|
||||||
ENV MIBDIRS=/var/lib/zabbix/mibs MIBS=+ALL
|
ENV MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL
|
||||||
|
|
||||||
RUN locale-gen $LC_ALL && \
|
RUN locale-gen $LC_ALL && \
|
||||||
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
||||||
|
@ -6,7 +6,7 @@ ARG APK_FLAGS_PERSISTANT="${APK_FLAGS_COMMON} --clean-protected --no-cache"
|
|||||||
ARG APK_FLAGS_DEV="${APK_FLAGS_COMMON} --no-cache"
|
ARG APK_FLAGS_DEV="${APK_FLAGS_COMMON} --no-cache"
|
||||||
ARG DB_TYPE=mysql
|
ARG DB_TYPE=mysql
|
||||||
ENV TERM=xterm
|
ENV TERM=xterm
|
||||||
ENV MIBDIRS=/var/lib/zabbix/mibs MIBS=+ALL
|
ENV MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL
|
||||||
|
|
||||||
RUN addgroup zabbix && \
|
RUN addgroup zabbix && \
|
||||||
adduser -S \
|
adduser -S \
|
||||||
|
@ -6,7 +6,7 @@ ARG APT_FLAGS_PERSISTANT="${APT_FLAGS_COMMON} --no-install-recommends"
|
|||||||
ARG APT_FLAGS_DEV="${APT_FLAGS_COMMON} --no-install-recommends"
|
ARG APT_FLAGS_DEV="${APT_FLAGS_COMMON} --no-install-recommends"
|
||||||
ARG DB_TYPE=mysql
|
ARG DB_TYPE=mysql
|
||||||
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 DEBIAN_FRONTEND=noninteractive TERM=xterm
|
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 DEBIAN_FRONTEND=noninteractive TERM=xterm
|
||||||
ENV MIBDIRS=/var/lib/zabbix/mibs MIBS=+ALL
|
ENV MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL
|
||||||
|
|
||||||
RUN locale-gen $LC_ALL && \
|
RUN locale-gen $LC_ALL && \
|
||||||
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
||||||
|
@ -6,7 +6,7 @@ ARG APK_FLAGS_PERSISTANT="${APK_FLAGS_COMMON} --clean-protected --no-cache"
|
|||||||
ARG APK_FLAGS_DEV="${APK_FLAGS_COMMON} --no-cache"
|
ARG APK_FLAGS_DEV="${APK_FLAGS_COMMON} --no-cache"
|
||||||
ARG DB_TYPE=postgresql
|
ARG DB_TYPE=postgresql
|
||||||
ENV TERM=xterm
|
ENV TERM=xterm
|
||||||
ENV MIBDIRS=/var/lib/zabbix/mibs MIBS=+ALL
|
ENV MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL
|
||||||
|
|
||||||
RUN addgroup zabbix && \
|
RUN addgroup zabbix && \
|
||||||
adduser -S \
|
adduser -S \
|
||||||
|
@ -6,7 +6,7 @@ ARG APT_FLAGS_PERSISTANT="${APT_FLAGS_COMMON} --no-install-recommends"
|
|||||||
ARG APT_FLAGS_DEV="${APT_FLAGS_COMMON} --no-install-recommends"
|
ARG APT_FLAGS_DEV="${APT_FLAGS_COMMON} --no-install-recommends"
|
||||||
ARG DB_TYPE=postgresql
|
ARG DB_TYPE=postgresql
|
||||||
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 DEBIAN_FRONTEND=noninteractive TERM=xterm
|
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 DEBIAN_FRONTEND=noninteractive TERM=xterm
|
||||||
ENV MIBDIRS=/var/lib/zabbix/mibs MIBS=+ALL
|
ENV MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL
|
||||||
|
|
||||||
RUN locale-gen $LC_ALL && \
|
RUN locale-gen $LC_ALL && \
|
||||||
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
||||||
|
Loading…
Reference in New Issue
Block a user