Skip to content

Commit

Permalink
Fix missing dependency for VPP test framework (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
pt-maros authored Sep 7, 2022
1 parent abb36e3 commit 23b5bdd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/vpp-test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ ARG VPP_IMAGE=vpp:22.02

FROM ${VPP_IMAGE}

# `netbase` has to be installed because it provides /etc/protocols file.
# The file is used by Scapy which the VPP Test Framework depends on.
RUN set -ex; \
apt-get update && \
apt-get install -y --no-install-recommends \
libssl-dev \
netbase \
pkg-config \
python3-venv \
&& rm -rf /var/lib/apt/lists/*
Expand All @@ -32,7 +35,7 @@ ENV LANG=C.UTF-8
RUN set -ex; \
cp -r /opt/dev/abx/abx /opt/dev/vpp/src/plugins/abx && \
cp -r /opt/dev/isisx/isisx /opt/dev/vpp/src/plugins/isisx && \
cp -r /opt/dev/isisx/test /opt/dev/vpp/test
cp -r /opt/dev/isisx/test /opt/dev/vpp/

WORKDIR /opt/dev/vpp

Expand Down

0 comments on commit 23b5bdd

Please sign in to comment.