diff options
author | Christian Breunig <christian@breunig.cc> | 2024-05-04 16:15:54 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-04 14:40:39 +0000 |
commit | f71ef8ed1eac82554d9ea9355e6ea93de7a68ab0 (patch) | |
tree | b57966d5c25b8d9de2f9c9b01dae00a58d1e2c16 /docker/Dockerfile | |
parent | 6cef71cc066b6455f4b5e199370e78860215ee67 (diff) | |
download | vyos-build-f71ef8ed1eac82554d9ea9355e6ea93de7a68ab0.tar.gz vyos-build-f71ef8ed1eac82554d9ea9355e6ea93de7a68ab0.zip |
Docker: T6283: T6250: no need to include rtrlib and libyang in general
FRR build tracks the rtrlib and libyang version, so only one place is needed to
build to sources.
(cherry picked from commit 6ff4b31c4a75583424edd0deb479d1dacc42d6b3)
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index b2c4981b..927c2fa9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -217,18 +217,6 @@ RUN apt-get update && apt-get install -y \ build-essential RUN gem install --no-document fpm -# Build rtrlib release 0.8.0 -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 && \ - mk-build-deps --install --tool "apt-get --yes --no-install-recommends" && \ - 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.128" 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 \ |