summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-04 21:31:51 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-04 21:31:51 +0200
commitf2d58f06e9a36d511b56a3ba933f482c362f59e3 (patch)
tree6618391c7fd57e8728acbcda3ca364f3bbaaf357 /docker
parent85aa235ecdc077c594379bceecad45fd542d90d1 (diff)
downloadvyos-build-f2d58f06e9a36d511b56a3ba933f482c362f59e3.tar.gz
vyos-build-f2d58f06e9a36d511b56a3ba933f482c362f59e3.zip
frr: bugfix rtrlib v0.8.0 dependency update
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile8
1 files changed, 3 insertions, 5 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 342264c9..878b6b41 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -255,11 +255,9 @@ RUN apt-get update && apt-get install -y \
doxygen
# Build rtrlib release 0.8.0
-RUN export RTRLIB_VERSION="0.8.0" \
- export ARCH=$(dpkg-architecture -qDEB_HOST_ARCH) && \
- wget -P /tmp https://github.com/rtrlib/rtrlib/archive/v${RTRLIB_VERSION}.tar.gz && \
- tar xf /tmp/v${RTRLIB_VERSION}.tar.gz -C /tmp && \
- cd /tmp/rtrlib-${RTRLIB_VERSION} && dpkg-buildpackage -uc -us -tc -b && \
+RUN export RTRLIB_VERSION="0.8.0" export ARCH=$(dpkg-architecture -qDEB_HOST_ARCH) && \
+ git clone https://github.com/rtrlib/rtrlib.git /tmp/rtrlib && cd /tmp/rtrlib && \
+ dpkg-buildpackage -uc -us -tc -b && \
dpkg -i ../librtr0*_${ARCH}.deb ../librtr-dev*_${ARCH}.deb ../rtr-tools*_${ARCH}.deb
# Packages needed to build libyang2