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 \ bash \
coreutils \ coreutils \
iputils \ iputils \
libcurl \
libldap && \ libldap && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/*
@ -58,6 +59,7 @@ RUN set -eux && \
alpine-sdk \ alpine-sdk \
autoconf \ autoconf \
automake \ automake \
curl-dev \
openssl-dev \ openssl-dev \
openldap-dev \ openldap-dev \
git \ git \
@ -76,6 +78,7 @@ RUN set -eux && \
--sysconfdir=/etc/zabbix \ --sysconfdir=/etc/zabbix \
--prefix=/usr \ --prefix=/usr \
--enable-agent \ --enable-agent \
--with-libcurl \
--with-ldap \ --with-ldap \
--with-openssl \ --with-openssl \
--enable-ipv6 \ --enable-ipv6 \

View File

@ -14,6 +14,7 @@ RUN set -eux && \
yum ${YUM_FLAGS_DEV} install \ yum ${YUM_FLAGS_DEV} install \
autoconf \ autoconf \
automake \ automake \
libcurl-devel \
make \ make \
openssl-devel \ openssl-devel \
openldap-devel \ openldap-devel \
@ -33,6 +34,7 @@ RUN set -eux && \
--sysconfdir=/etc/zabbix \ --sysconfdir=/etc/zabbix \
--prefix=/usr \ --prefix=/usr \
--enable-agent \ --enable-agent \
--with-libcurl \
--with-ldap \ --with-ldap \
--with-openssl \ --with-openssl \
--enable-ipv6 \ --enable-ipv6 \
@ -91,6 +93,7 @@ RUN set -eux && \
yum ${YUM_FLAGS_COMMON} makecache && \ yum ${YUM_FLAGS_COMMON} makecache && \
yum ${YUM_FLAGS_PERSISTENT} install \ yum ${YUM_FLAGS_PERSISTENT} install \
libldap \ libldap \
libcurl \
openssl-libs && \ openssl-libs && \
yum ${YUM_FLAGS_PERSISTENT} clean all && \ yum ${YUM_FLAGS_PERSISTENT} clean all && \
rm -rf /var/cache/yum && \ rm -rf /var/cache/yum && \

View File

@ -16,6 +16,7 @@ RUN set -eux && \
DEBIAN_FRONTEND=noninteractive apt-get ${APT_FLAGS_DEV} install \ DEBIAN_FRONTEND=noninteractive apt-get ${APT_FLAGS_DEV} install \
autoconf \ autoconf \
automake \ automake \
libcurl4-openssl-dev \
libc6-dev \ libc6-dev \
libldap2-dev \ libldap2-dev \
libssl-dev \ libssl-dev \
@ -37,6 +38,7 @@ RUN set -eux && \
--sysconfdir=/etc/zabbix \ --sysconfdir=/etc/zabbix \
--prefix=/usr \ --prefix=/usr \
--enable-agent \ --enable-agent \
--with-libcurl \
--with-ldap \ --with-ldap \
--with-openssl \ --with-openssl \
--enable-ipv6 \ --enable-ipv6 \
@ -101,6 +103,7 @@ RUN set -eux && \
apt-get ${APT_FLAGS_COMMON} update && \ apt-get ${APT_FLAGS_COMMON} update && \
DEBIAN_FRONTEND=noninteractive apt-get ${APT_FLAGS_PERSISTENT} install \ DEBIAN_FRONTEND=noninteractive apt-get ${APT_FLAGS_PERSISTENT} install \
libssl1.1 \ libssl1.1 \
libcurl4 \
libldap-2.4 && \ libldap-2.4 && \
apt-get ${APT_FLAGS_COMMON} autoremove && \ apt-get ${APT_FLAGS_COMMON} autoremove && \
apt-get ${APT_FLAGS_COMMON} clean && \ apt-get ${APT_FLAGS_COMMON} clean && \