diff --git a/agent/alpine/Dockerfile b/agent/alpine/Dockerfile index 82328c70d..3396eb9e2 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.0 @@ -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 6c09516d6..19ab9da76 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 e2a1c981a..b2906c262 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 && \