diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-13 21:28:58 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-10-11 19:10:05 +0200 |
commit | 976a978d59931cf5b6e588a9a4fd36e01ae05bba (patch) | |
tree | 0c49b3f78aa6be3942d6fc9fa3b44fac83324aa7 /docker | |
parent | 63e1aaa0f8ae1a2bf25ae0e2f5f3f0c5ecee22f7 (diff) | |
download | vyos-build-976a978d59931cf5b6e588a9a4fd36e01ae05bba.tar.gz vyos-build-976a978d59931cf5b6e588a9a4fd36e01ae05bba.zip |
Docker: T3753: add build dependencies for libyang2 required by FRR 8
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index ec86f9ce..607715e5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -262,6 +262,14 @@ RUN export RTRLIB_VERSION="56e67e7805953eb84d3d68dfb4ff4447f2a8c925" \ cd /tmp/rtrlib-${RTRLIB_VERSION} && dpkg-buildpackage -uc -us -tc -b && \ dpkg -i ../librtr0*_${ARCH}.deb ../librtr-dev*_${ARCH}.deb ../rtr-tools*_${ARCH}.deb +# Packages needed to build libyang2 +RUN pip3 install apkg +RUN apt-get update && apt-get install -y \ + graphviz \ + cmake \ + libpcre3-dev \ + python3-pip + # Packages needed to build FRR itself # https://github.com/FRRouting/frr/blob/master/doc/developer/building-libyang.rst # for more info |