-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (32 loc) · 948 Bytes
/
Copy pathDockerfile
File metadata and controls
38 lines (32 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
###
# dpdk image built using phusion/baseimage, refer to instructions for running daemons
###
FROM rakurai/dpdk:2.0.0-onbuild
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
g++ \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV CLICK_SRC /usr/src/fastclick
RUN curl -ksSL http://github.com/MappaM/click/archive/master.tar.gz | tar -xz; \
mv click-master ${CLICK_SRC}
RUN . ${RTE_SDK}/dpdk_env.sh; \
cd ${CLICK_SRC} \
&& ./configure \
--enable-multithread \
--disable-linuxmodule \
--enable-intel-cpu \
--enable-user-multithread \
--verbose \
CFLAGS="-g -O3" \
CXXFLAGS="-g -std=gnu++11 -O3" \
--disable-dynamic-linking \
--enable-poll \
--enable-bound-port-transfer \
--enable-dpdk \
--enable-batch \
--with-netmap=no \
--enable-zerocopy \
--disable-dpdk-pools \
&& make install-userlevel \
&& make clean
CMD ["click"]