From 79cfd3cbedeb58e599633ed88fa58b6cdd6aa123 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Thu, 18 Jul 2019 15:25:12 +0300 Subject: [PATCH] Fixed HTTPs checks in Zabbix agent --- agent/alpine/Dockerfile | 3 +++ agent/centos/Dockerfile | 3 +++ agent/ubuntu/Dockerfile | 3 +++ 3 files changed, 9 insertions(+) diff --git a/agent/alpine/Dockerfile b/agent/alpine/Dockerfile index 7e62f282b..0edc58730 100644 --- a/agent/alpine/Dockerfile +++ b/agent/alpine/Dockerfile @@ -39,6 +39,7 @@ RUN set -eux && \ bash \ coreutils \ iputils \ + libcurl \ libldap && \ rm -rf /var/cache/apk/* @@ -58,6 +59,7 @@ RUN set -eux && \ alpine-sdk \ autoconf \ automake \ + curl-dev \ openssl-dev \ openldap-dev \ git \ @@ -76,6 +78,7 @@ RUN set -eux && \ --sysconfdir=/etc/zabbix \ --prefix=/usr \ --enable-agent \ + --with-libcurl \ --with-ldap \ --with-openssl \ --enable-ipv6 \ diff --git a/agent/centos/Dockerfile b/agent/centos/Dockerfile index 2a656ec84..86916c57a 100644 --- a/agent/centos/Dockerfile +++ b/agent/centos/Dockerfile @@ -14,6 +14,7 @@ RUN set -eux && \ yum ${YUM_FLAGS_DEV} install \ autoconf \ automake \ + libcurl-devel \ make \ openssl-devel \ openldap-devel \ @@ -33,6 +34,7 @@ RUN set -eux && \ --sysconfdir=/etc/zabbix \ --prefix=/usr \ --enable-agent \ + --with-libcurl \ --with-ldap \ --with-openssl \ --enable-ipv6 \ @@ -91,6 +93,7 @@ RUN set -eux && \ yum ${YUM_FLAGS_COMMON} makecache && \ yum ${YUM_FLAGS_PERSISTENT} install \ libldap \ + libcurl \ openssl-libs && \ yum ${YUM_FLAGS_PERSISTENT} clean all && \ rm -rf /var/cache/yum && \ diff --git a/agent/ubuntu/Dockerfile b/agent/ubuntu/Dockerfile index 47886f104..315bb6b68 100644 --- a/agent/ubuntu/Dockerfile +++ b/agent/ubuntu/Dockerfile @@ -16,6 +16,7 @@ RUN set -eux && \ DEBIAN_FRONTEND=noninteractive apt-get ${APT_FLAGS_DEV} install \ autoconf \ automake \ + libcurl4-openssl-dev \ libc6-dev \ libldap2-dev \ libssl-dev \ @@ -37,6 +38,7 @@ RUN set -eux && \ --sysconfdir=/etc/zabbix \ --prefix=/usr \ --enable-agent \ + --with-libcurl \ --with-ldap \ --with-openssl \ --enable-ipv6 \ @@ -101,6 +103,7 @@ RUN set -eux && \ apt-get ${APT_FLAGS_COMMON} update && \ DEBIAN_FRONTEND=noninteractive apt-get ${APT_FLAGS_PERSISTENT} install \ libssl1.1 \ + libcurl4 \ libldap-2.4 && \ apt-get ${APT_FLAGS_COMMON} autoremove && \ apt-get ${APT_FLAGS_COMMON} clean && \