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 | |
Jakub Grajciar | ecfa2aa | 2018-03-26 11:26:34 +0200 | [diff] [blame] | 7 | RUN mkdir /libmemif |
| 8 | ADD . /libmemif |
Jakub Grajciar | 7c5c40d | 2017-08-30 10:13:25 +0200 | [diff] [blame] | 9 | WORKDIR /libmemif |
Jakub Grajciar | ecfa2aa | 2018-03-26 11:26:34 +0200 | [diff] [blame] | 10 | |
Jakub Grajciar | 7c5c40d | 2017-08-30 10:13:25 +0200 | [diff] [blame] | 11 | RUN ./bootstrap |
| 12 | RUN ./configure |
| 13 | RUN make |
| 14 | RUN make install |
| 15 | |
Jakub Grajciar | ecfa2aa | 2018-03-26 11:26:34 +0200 | [diff] [blame] | 16 | RUN mkdir /run/vpp |
Jakub Grajciar | 7c5c40d | 2017-08-30 10:13:25 +0200 | [diff] [blame] | 17 | |
| 18 | RUN ulimit -c unlimited |
| 19 | |
| 20 | CMD ./.libs/icmpr-epoll |