summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-01 20:53:12 +0200
committerChristian Breunig <christian@breunig.cc>2023-08-01 20:54:17 +0200
commit9e2ba40939bbafba1a63e0a27a784965be8255a1 (patch)
tree77e8bca5af465de25c0f340eee94e69b18cab492 /docker
parentadfd8a58c66adb6e5a61bc8a00ec1d183368a196 (diff)
downloadvyos-build-9e2ba40939bbafba1a63e0a27a784965be8255a1.tar.gz
vyos-build-9e2ba40939bbafba1a63e0a27a784965be8255a1.zip
frr: T5415: upgrade libyang library to v2.1.80
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index a4c2b931..8b33d506 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -211,6 +211,11 @@ RUN export RTRLIB_VERSION="0.8.0" export ARCH=$(dpkg-architecture -qDEB_HOST_ARC
dpkg-buildpackage -uc -us -tc -b && \
dpkg -i ../librtr0*_${ARCH}.deb ../librtr-dev*_${ARCH}.deb ../rtr-tools*_${ARCH}.deb
+RUN export LIBYANG_VERSION="v2.1.80" export ARCH=$(dpkg-architecture -qDEB_HOST_ARCH) && \
+ git clone https://github.com/CESNET/libyang.git /tmp/libyang && cd /tmp/libyang && \
+ pipx run apkg build -i && find pkg/pkgs -type f -name *.deb -exec mv -t .. {} + && \
+ dpkg -i ../libyang*.deb
+
# Packages needed for vyos-1x
RUN pip install --break-system-packages \
git+https://github.com/aristanetworks/j2lint.git@341b5d5db86 \