blob: c80ca5bdad6af37fdfefb7b01e658601a8d3aa86 [file] [log] [blame]
Jakub Grajciar7c5c40d2017-08-30 10:13:25 +02001FROM ubuntu:xenial
2
3RUN apt-get update && \
Jakub Grajciare74c04f2021-01-04 11:28:33 +01004 apt-get install -y git build-essential autoconf pkg-config libtool sudo
Jakub Grajciar7c5c40d2017-08-30 10:13:25 +02005RUN rm -rf /var/lib/apt/lists/*
6
Jakub Grajciarecfa2aa2018-03-26 11:26:34 +02007RUN mkdir /libmemif
8ADD . /libmemif
Jakub Grajciar7c5c40d2017-08-30 10:13:25 +02009WORKDIR /libmemif
Jakub Grajciarecfa2aa2018-03-26 11:26:34 +020010
Jakub Grajciare74c04f2021-01-04 11:28:33 +010011RUN mkdir build
12RUN cmake ..
13WORKDIR /libmemif/build
Jakub Grajciar7c5c40d2017-08-30 10:13:25 +020014RUN make
Jakub Grajciar7c5c40d2017-08-30 10:13:25 +020015
Jakub Grajciarecfa2aa2018-03-26 11:26:34 +020016RUN mkdir /run/vpp
Jakub Grajciar7c5c40d2017-08-30 10:13:25 +020017
18RUN ulimit -c unlimited
19
Jakub Grajciare74c04f2021-01-04 11:28:33 +010020CMD ./examples/icmp_responder