Fixed HTTPs checks in Zabbix agent

This commit is contained in:
Alexey Pustovalov 2019-07-18 15:25:12 +03:00
parent 20cfe04184
commit 79cfd3cbed
3 changed files with 9 additions and 0 deletions

View File

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

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