diff options
Diffstat (limited to 'docker/Dockerfile')
| -rw-r--r-- | docker/Dockerfile | 42 |
1 files changed, 34 insertions, 8 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 2b81d513..f361875c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -254,16 +254,14 @@ RUN apt-get update && apt-get install -y \ libssh-dev \ doxygen -# Build rtrlib release 0.7.0 -RUN export RTRLIB_VERSION="56e67e7805953eb84d3d68dfb4ff4447f2a8c925" \ - export ARCH=$(dpkg-architecture -qDEB_HOST_ARCH) && \ - wget -P /tmp https://github.com/rtrlib/rtrlib/archive/${RTRLIB_VERSION}.tar.gz && \ - tar xf /tmp/${RTRLIB_VERSION}.tar.gz -C /tmp && \ - cd /tmp/rtrlib-${RTRLIB_VERSION} && dpkg-buildpackage -uc -us -tc -b && \ +# 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 && \ + 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 pip install apkg RUN apt-get update && apt-get install -y \ graphviz \ cmake \ @@ -278,6 +276,9 @@ RUN export LIBYANG_COMMIT="v2.0.164" && \ cd libyang && git checkout $LIBYANG_COMMIT && apkg build -i && \ cd pkg/pkgs/debian-11/libyang2_* && dpkg -i *.deb +# FRR documentation also has a dependency on an up to date spinx version +RUN pip install sphinx==4.0.2 + # Packages needed to build FRR itself # https://github.com/FRRouting/frr/blob/master/doc/developer/building-libyang.rst # for more info @@ -304,7 +305,6 @@ RUN apt-get update && apt-get install -y \ python3 \ python3-dev \ python3-pytest \ - python3-sphinx \ texinfo # Packages needed for hvinfo @@ -313,6 +313,7 @@ RUN apt-get update && apt-get install -y \ gprbuild # Packages needed for vyos-1x +RUN pip install git+https://github.com/aristanetworks/j2lint.git@341b5d5db86 RUN apt-get update && apt-get install -y \ dh-python \ fakeroot \ @@ -518,6 +519,31 @@ RUN apt-get update && apt-get install -y \ udev \ zip +# Packages needed for Fastnetmon +RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \ + apt-get update && apt-get install -y \ + build-essential \ + make \ + autoconf \ + automake \ + libtool \ + cmake \ + pkg-config \ + capnproto \ + libcapnp-dev \ + libgrpc++-dev \ + libgrpc-dev \ + libgrpc10 \ + libprotobuf-dev \ + protobuf-compiler \ + protobuf-compiler-grpc \ + libboost-thread1.74-dev \ + libboost-regex1.74-dev \ + libboost-program-options1.74-dev \ + libmongoc-dev \ + liblog4cpp5-dev; \ + fi + # # fpm: a command-line program designed to help you build packages (e.g. deb) # |
