mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-01 23:56:05 +02:00
Updated Alpine base image to 3.14 and build Agent with modbus support
This commit is contained in:
parent
9a2e0c9a0d
commit
2e0ee131fc
@ -33,6 +33,7 @@ RUN set -eux && \
|
|||||||
iputils \
|
iputils \
|
||||||
pcre \
|
pcre \
|
||||||
libcurl \
|
libcurl \
|
||||||
|
libmodbus \
|
||||||
libldap && \
|
libldap && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
@ -53,6 +54,7 @@ RUN set -eux && \
|
|||||||
curl-dev \
|
curl-dev \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
openldap-dev \
|
openldap-dev \
|
||||||
|
libmodbus-dev \
|
||||||
g++ \
|
g++ \
|
||||||
pcre-dev \
|
pcre-dev \
|
||||||
make \
|
make \
|
||||||
@ -72,6 +74,7 @@ RUN set -eux && \
|
|||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-agent \
|
--enable-agent \
|
||||||
--with-libcurl \
|
--with-libcurl \
|
||||||
|
--with-libmodbus \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-openssl \
|
--with-openssl \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
|
6
agent/ol/conf/etc/yum.repos.d/oracle-epel-ol8.repo
Normal file
6
agent/ol/conf/etc/yum.repos.d/oracle-epel-ol8.repo
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[ol8_developer_EPEL]
|
||||||
|
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
||||||
|
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
||||||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
|
gpgcheck=1
|
||||||
|
enabled=0
|
6
agent2/ol/conf/etc/yum.repos.d/oracle-epel-ol8.repo
Normal file
6
agent2/ol/conf/etc/yum.repos.d/oracle-epel-ol8.repo
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[ol8_developer_EPEL]
|
||||||
|
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
||||||
|
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
||||||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
|
gpgcheck=1
|
||||||
|
enabled=0
|
@ -4,7 +4,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./server-mysql/alpine
|
context: ./server-mysql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-server-mysql:alpine-local
|
image: zabbix-server-mysql:alpine-local
|
||||||
ports:
|
ports:
|
||||||
- "10051:10051"
|
- "10051:10051"
|
||||||
@ -71,7 +71,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./proxy-sqlite3/alpine
|
context: ./proxy-sqlite3/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-proxy-sqlite3:alpine-local
|
image: zabbix-proxy-sqlite3:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- all
|
- all
|
||||||
@ -124,7 +124,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./proxy-mysql/alpine
|
context: ./proxy-mysql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-proxy-mysql:alpine-local
|
image: zabbix-proxy-mysql:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- all
|
- all
|
||||||
@ -186,7 +186,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./web-apache-mysql/alpine
|
context: ./web-apache-mysql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-web-apache-mysql:alpine-local
|
image: zabbix-web-apache-mysql:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- all
|
- all
|
||||||
@ -246,7 +246,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./web-nginx-mysql/alpine
|
context: ./web-nginx-mysql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-web-nginx-mysql:alpine-local
|
image: zabbix-web-nginx-mysql:alpine-local
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "80:8080"
|
||||||
@ -304,7 +304,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./agent/alpine
|
context: ./agent/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-agent:alpine-local
|
image: zabbix-agent:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- full
|
- full
|
||||||
@ -348,7 +348,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./java-gateway/alpine
|
context: ./java-gateway/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-java-gateway:alpine-local
|
image: zabbix-java-gateway:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- full
|
- full
|
||||||
@ -381,7 +381,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./snmptraps/alpine
|
context: ./snmptraps/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-snmptraps:alpine-local
|
image: zabbix-snmptraps:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- full
|
- full
|
||||||
@ -414,7 +414,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./web-service/alpine
|
context: ./web-service/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-web-service:alpine-local
|
image: zabbix-web-service:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- full
|
- full
|
||||||
|
@ -4,7 +4,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./server-pgsql/alpine
|
context: ./server-pgsql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-server-pgsql:alpine-local
|
image: zabbix-server-pgsql:alpine-local
|
||||||
ports:
|
ports:
|
||||||
- "10051:10051"
|
- "10051:10051"
|
||||||
@ -70,7 +70,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./proxy-sqlite3/alpine
|
context: ./proxy-sqlite3/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-proxy-sqlite3:alpine-local
|
image: zabbix-proxy-sqlite3:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- all
|
- all
|
||||||
@ -123,7 +123,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./proxy-mysql/alpine
|
context: ./proxy-mysql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-proxy-mysql:alpine-local
|
image: zabbix-proxy-mysql:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- all
|
- all
|
||||||
@ -182,7 +182,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./web-apache-pgsql/alpine
|
context: ./web-apache-pgsql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-web-apache-pgsql:alpine-local
|
image: zabbix-web-apache-pgsql:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- all
|
- all
|
||||||
@ -242,7 +242,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./web-nginx-pgsql/alpine
|
context: ./web-nginx-pgsql/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-web-nginx-pgsql:alpine-local
|
image: zabbix-web-nginx-pgsql:alpine-local
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "80:8080"
|
||||||
@ -300,7 +300,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./agent/alpine
|
context: ./agent/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-agent:alpine-local
|
image: zabbix-agent:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- full
|
- full
|
||||||
@ -344,7 +344,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./java-gateway/alpine
|
context: ./java-gateway/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-java-gateway:alpine-local
|
image: zabbix-java-gateway:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- full
|
- full
|
||||||
@ -377,7 +377,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./snmptraps/alpine
|
context: ./snmptraps/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-snmptraps:alpine-local
|
image: zabbix-snmptraps:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- full
|
- full
|
||||||
@ -410,7 +410,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./web-service/alpine
|
context: ./web-service/alpine
|
||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.13
|
- alpine:3.14
|
||||||
image: zabbix-web-service:alpine-local
|
image: zabbix-web-service:alpine-local
|
||||||
profiles:
|
profiles:
|
||||||
- full
|
- full
|
||||||
|
Loading…
x
Reference in New Issue
Block a user