From e74c04fc9fb2600470fe79a69d3ec6b0db95faec Mon Sep 17 00:00:00 2001 From: Jakub Grajciar Date: Mon, 4 Jan 2021 11:28:33 +0100 Subject: libmemif: refactor examples - icmp_responder: responds to ICMPv4 and ARP requests - loopback: connects two interfaces and sends a verification packet from master memif to slave memif where it is looped back - loopback (reverse path): reverses direction of packet in loopback application (slave memif to master memif) Type: refactor Signed-off-by: Jakub Grajciar Change-Id: Ie90aaa3367269408efb6c5d538ad5aa827432238 Signed-off-by: Dave Wallace --- extras/libmemif/dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'extras/libmemif/dockerfile') diff --git a/extras/libmemif/dockerfile b/extras/libmemif/dockerfile index 81012b0d5fd..c80ca5bdad6 100644 --- a/extras/libmemif/dockerfile +++ b/extras/libmemif/dockerfile @@ -1,20 +1,20 @@ FROM ubuntu:xenial RUN apt-get update && \ - apt-get install -y git build-essential autoconf pkg-config libtool sudo check + apt-get install -y git build-essential autoconf pkg-config libtool sudo RUN rm -rf /var/lib/apt/lists/* RUN mkdir /libmemif ADD . /libmemif WORKDIR /libmemif -RUN ./bootstrap -RUN ./configure +RUN mkdir build +RUN cmake .. +WORKDIR /libmemif/build RUN make -RUN make install RUN mkdir /run/vpp RUN ulimit -c unlimited -CMD ./.libs/icmpr-epoll +CMD ./examples/icmp_responder -- cgit 1.2.3-korg