summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile37
1 files changed, 30 insertions, 7 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 38dea015..0b03a8e5 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -228,18 +228,12 @@ RUN eval $(opam env --root=/opt/opam --set-root) && \
# Build libvyosconfig
RUN eval $(opam env --root=/opt/opam --set-root) && \
- git clone https://github.com/vyos/libvyosconfig && \
+ git clone https://github.com/vyos/libvyosconfig.git && \
cd libvyosconfig && \
git checkout a9817fa26c1be1 && \
dpkg-buildpackage -uc -us -tc -b && \
dpkg -i ../libvyosconfig0_*_amd64.deb
-# Packages needed for ipaddrcheck
-RUN apt-get update && apt-get install -y \
- libpcre3-dev \
- libcidr-dev \
- check
-
# Packages needed for hvinfo
RUN apt-get update && apt-get install -y \
gnat \
@@ -253,6 +247,35 @@ RUN apt-get update && apt-get install -y \
RUN apt-get update && apt-get install -y \
golang
+# Packages needed for ipaddrcheck
+RUN apt-get update && apt-get install -y \
+ check
+# As there is no Debian Jessie/Stretch package for libcidr available but this
+# is required for ipaddrcheck we have to build it from source
+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
+
+# Packages needed for lldpd
+RUN apt-get update && apt-get install -y \
+ libbsd-dev \
+ libevent-dev
+
+# Packages needed for pdns-recursor
+RUN apt-get update && apt-get install -y \
+ libboost-context-dev \
+ libboost-dev \
+ libboost-program-options-dev \
+ libboost-test-dev \
+ liblua5.2-dev \
+ libprotobuf-dev \
+ libsodium-dev \
+ protobuf-compiler \
+ publicsuffix \
+ ragel
+
# 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 && \