From 617ffd2eb93526ef3532f4a2ca5941fd78174386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Wed, 18 Jul 2018 14:53:40 +0200 Subject: [PATCH 1/2] Force-install Perl modules from CPAN --- docker/bind9/centos-template/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/bind9/centos-template/Dockerfile b/docker/bind9/centos-template/Dockerfile index 573a5f0..012a6eb 100644 --- a/docker/bind9/centos-template/Dockerfile +++ b/docker/bind9/centos-template/Dockerfile @@ -53,4 +53,4 @@ RUN ldconfig RUN curl -sSL https://github.com/jmmv/kyua/releases/download/kyua-$KYUA_VERSION/kyua-$KYUA_VERSION.tar.gz | tar -xz -C /usr/src RUN cd /usr/src/kyua-$KYUA_VERSION && sed -i "s|^set(|tree_set(|; s|^\(\s\+\)set<|\1tree_set<|;" model/metadata.cpp && ./configure --prefix /usr && make && make install && cd .. && rm -rf /usr/tests /usr/src/kyua-$KYUA_VERSION RUN ldconfig -RUN mkdir /usr/local/{lib64,share}/perl5 && cpan Net::DNS +RUN mkdir /usr/local/{lib64,share}/perl5 && cpan -fi Net::DNS -- GitLab From cb0cabbacaeb8d6f4d68f03e84bbaaf8c81ffd93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Wed, 18 Jul 2018 14:53:40 +0200 Subject: [PATCH 2/2] Force use of Net::DNS 1.15 in CentOS images Net::DNS 1.16 introduced a DNS compression bug which breaks BIND system tests. Prevent CI errors by temporarily forcing use of Net::DNS 1.15 in CentOS Docker images. --- docker/bind9/centos-template/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/bind9/centos-template/Dockerfile b/docker/bind9/centos-template/Dockerfile index 012a6eb..55a000a 100644 --- a/docker/bind9/centos-template/Dockerfile +++ b/docker/bind9/centos-template/Dockerfile @@ -53,4 +53,4 @@ RUN ldconfig RUN curl -sSL https://github.com/jmmv/kyua/releases/download/kyua-$KYUA_VERSION/kyua-$KYUA_VERSION.tar.gz | tar -xz -C /usr/src RUN cd /usr/src/kyua-$KYUA_VERSION && sed -i "s|^set(|tree_set(|; s|^\(\s\+\)set<|\1tree_set<|;" model/metadata.cpp && ./configure --prefix /usr && make && make install && cd .. && rm -rf /usr/tests /usr/src/kyua-$KYUA_VERSION RUN ldconfig -RUN mkdir /usr/local/{lib64,share}/perl5 && cpan -fi Net::DNS +RUN mkdir /usr/local/{lib64,share}/perl5 && cpan -fi N/NL/NLNETLABS/Net-DNS-1.15.tar.gz -- GitLab