Skip to content

Commit

Permalink
Merge pull request #427 from alauda/dpdk/add-dpdk-tools
Browse files Browse the repository at this point in the history
dpdk: add kmod, pdump and proc-info tools
  • Loading branch information
oilbeater committed Jul 30, 2020
2 parents cf47ee1 + bb961ae commit b8402db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/images/Dockerfile.dpdk1911
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN dnf install -y --setopt=install_weak_deps=False \
curl http://fast.dpdk.org/rel/dpdk-${DPDK_VERSION}.tar.gz | tar xz && \
cd ${DPDK_DIR} && \
meson builddir && cd builddir && \
meson configure -Dexamples='' -Dtests=false -Denable_kmods=false -Denable_docs=false && \
meson configure -Dapps='pdump proc-info' -Dexamples='' -Dtests=false -Denable_kmods=false -Denable_docs=false && \
ninja && ninja install && \
# Clean Up
dnf remove -y make meson gcc cpp && \
Expand Down Expand Up @@ -69,6 +69,7 @@ RUN mkdir -p /rpms && \

FROM dpdk

RUN dnf install -y kmod && dnf clean all
COPY --from=rpm-builder /rpms/* /rpms/
COPY start-ovs-dpdk.sh ovs-dpdk-healthcheck.sh uninstall.sh /kube-ovn/

Expand Down

0 comments on commit b8402db

Please sign in to comment.