summaryrefslogtreecommitdiffstats
path: root/docker/ubuntu-ci/Dockerfile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:56:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:56:25 +0000
commit289582b3dcbeb23328325d224c7db7de66a3a55f (patch)
tree989c36d57aab945c36e34c952f438746ce18b3bd /docker/ubuntu-ci/Dockerfile
parentReleasing progress-linux version 10.0.1-0.1~progress7.99u1. (diff)
downloadfrr-289582b3dcbeb23328325d224c7db7de66a3a55f.tar.xz
frr-289582b3dcbeb23328325d224c7db7de66a3a55f.zip
Merging upstream version 10.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docker/ubuntu-ci/Dockerfile')
-rw-r--r--docker/ubuntu-ci/Dockerfile26
1 files changed, 15 insertions, 11 deletions
diff --git a/docker/ubuntu-ci/Dockerfile b/docker/ubuntu-ci/Dockerfile
index 5a49806..5c4649d 100644
--- a/docker/ubuntu-ci/Dockerfile
+++ b/docker/ubuntu-ci/Dockerfile
@@ -23,13 +23,17 @@ RUN apt update && apt upgrade -y && \
libreadline-dev \
libsnmp-dev \
libsqlite3-dev \
+ lsb-release \
libtool \
+ lcov \
make \
perl \
pkg-config \
python3-dev \
python3-sphinx \
+ screen \
texinfo \
+ tmux \
&& \
# Protobuf build requirements
apt-get install -y \
@@ -89,18 +93,14 @@ RUN groupadd -r -g 92 frr && \
echo 'frr ALL = NOPASSWD: ALL' | tee /etc/sudoers.d/frr && \
mkdir -p /home/frr && chown frr.frr /home/frr
-USER frr:frr
+# Install FRR built packages
+RUN mkdir -p /etc/apt/keyrings && \
+ curl -s -o /etc/apt/keyrings/frrouting.gpg https://deb.frrouting.org/frr/keys.gpg && \
+ echo deb '[signed-by=/etc/apt/keyrings/frrouting.gpg]' https://deb.frrouting.org/frr \
+ $(lsb_release -s -c) "frr-stable" > /etc/apt/sources.list.d/frr.list && \
+ apt-get update && apt-get install -y librtr-dev libyang2-dev libyang2-tools
-# build and install libyang2
-RUN cd && pwd && ls -al && \
- git clone https://github.com/CESNET/libyang.git && \
- cd libyang && \
- git checkout v2.1.128 && \
- mkdir build; cd build && \
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DCMAKE_BUILD_TYPE:String="Release" .. && \
- make -j $(nproc) && \
- sudo make install
+USER frr:frr
COPY --chown=frr:frr . /home/frr/frr/
@@ -111,6 +111,10 @@ RUN cd ~/frr && \
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/lib/frr \
+ --enable-gcov \
+ --enable-dev-build \
+ --enable-mgmtd-test-be-client \
+ --enable-rpki \
--enable-sharpd \
--enable-multipath=64 \
--enable-user=frr \