summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-01-31 18:53:05 +0100
committerChristian Poessinger <christian@poessinger.com>2019-01-31 18:53:05 +0100
commitd34540adfdbbbc9abc330ebc504fc1cd5f40387f (patch)
tree6782f4212c8f0cb44827334fb8e586d1e11c063c /docker/Dockerfile
parent9467da7d1471cdeeb0272ae619f2a323408726df (diff)
downloadvyos-build-d34540adfdbbbc9abc330ebc504fc1cd5f40387f.tar.gz
vyos-build-d34540adfdbbbc9abc330ebc504fc1cd5f40387f.zip
Docker: build libcidr fro source
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile7
1 files changed, 7 insertions, 0 deletions
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 && \