Commit cb0cabba authored by Michał Kępień's avatar Michał Kępień
Browse files

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.
parent 617ffd2e
Pipeline #3131 passed with stage
in 9 minutes and 39 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment