Fixed HTTPs checks in Zabbix agent

This commit is contained in:
Alexey Pustovalov 2019-07-18 15:27:39 +03:00
commit bf349ff085
3 changed files with 11 additions and 2 deletions

View File

@ -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 \

View File

@ -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 && \

View File

@ -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 && \