Jakub Grajciar | 7c5c40d | 2017-08-30 10:13:25 +0200 | [diff] [blame] | 1 | FROM ubuntu:xenial |
| 2 | |
| 3 | RUN apt-get update && \ |
| 4 | apt-get install -y git build-essential autoconf pkg-config libtool sudo check |
| 5 | RUN rm -rf /var/lib/apt/lists/* |
| 6 | |
| 7 | RUN git clone https://github.com/JakubGrajciar/libmemif.git /libmemif |
| 8 | WORKDIR /libmemif |
Jakub Grajciar | ba3c4e8 | 2017-09-18 11:21:40 +0200 | [diff] [blame] | 9 | RUN git checkout master |
Jakub Grajciar | 7c5c40d | 2017-08-30 10:13:25 +0200 | [diff] [blame] | 10 | RUN ./bootstrap |
| 11 | RUN ./configure |
| 12 | RUN make |
| 13 | RUN make install |
| 14 | |
| 15 | RUN mkdir /var/vpp |
| 16 | |
| 17 | RUN ulimit -c unlimited |
| 18 | |
| 19 | CMD ./.libs/icmpr-epoll |