diff --git a/agent/alpine/Dockerfile b/agent/alpine/Dockerfile index 5739bd457..d82009106 100644 --- a/agent/alpine/Dockerfile +++ b/agent/alpine/Dockerfile @@ -38,8 +38,9 @@ RUN set -eux && \ bash \ coreutils \ iputils \ - libldap \ - pcre && \ + pcre \ + libcurl \ + libldap && \ rm -rf /var/cache/apk/* ARG MAJOR_VERSION=4.4 @@ -58,6 +59,7 @@ RUN set -eux && \ alpine-sdk \ autoconf \ automake \ + curl-dev \ openssl-dev \ openldap-dev \ pcre-dev \ @@ -77,6 +79,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 2f83be474..799135979 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 388337598..6e7dfdb47 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 \ libpcre3-dev \ @@ -38,6 +39,7 @@ RUN set -eux && \ --sysconfdir=/etc/zabbix \ --prefix=/usr \ --enable-agent \ + --with-libcurl \ --with-ldap \ --with-openssl \ --enable-ipv6 \ @@ -103,6 +105,7 @@ RUN set -eux && \ DEBIAN_FRONTEND=noninteractive apt-get ${APT_FLAGS_PERSISTENT} install \ libpcre3 \ libssl1.1 \ + libcurl4 \ libldap-2.4 && \ apt-get ${APT_FLAGS_COMMON} autoremove && \ apt-get ${APT_FLAGS_COMMON} clean && \