Docker: build libcidr fro source

This commit is contained in:
Christian Poessinger 2019-01-31 18:53:05 +01:00
parent 9467da7d14
commit d34540adfd

View File

@ -247,6 +247,13 @@ RUN apt-get update && apt-get install -y \
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
golang 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 # Update live-build
RUN echo 'deb http://ftp.debian.org/debian stretch main' | tee -a /etc/apt/sources.list.d/stretch.list && \ 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 && \ apt-get update && apt-get install -y -t stretch live-build && \