From d34540adfdbbbc9abc330ebc504fc1cd5f40387f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 31 Jan 2019 18:53:05 +0100 Subject: Docker: build libcidr fro source --- docker/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile index d3d012f3..cfb5d592 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -247,6 +247,13 @@ RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \ golang +# Packages needed for ipaddrcheck +RUN git clone https://github.com/wikimedia/analytics-libcidr.git && \ + cd analytics-libcidr && \ + git checkout 026c611d90a1 && \ + dpkg-buildpackage -uc -us -tc -b && \ + dpkg -i ../libcidr*.deb + # Update live-build RUN echo 'deb http://ftp.debian.org/debian stretch main' | tee -a /etc/apt/sources.list.d/stretch.list && \ apt-get update && apt-get install -y -t stretch live-build && \ -- cgit v1.2.3