Fix dpdk build deps

This commit is contained in:
Audiobuzz
2026-06-14 06:12:35 +00:00
parent dbf0d075bc
commit 1a0cd5c37f
2 changed files with 39 additions and 0 deletions
+5
View File
@@ -26,8 +26,13 @@ RUN git clone --branch "${SPDK_VERSION}" --depth 1 "${SPDK_REPO}" /spdk \
# build; trim the test artifacts) and build.
# apt-get update first: the index was cleared above, and pkgdep.sh runs
# `apt-get install` without refreshing it (else "Unable to locate package …").
#
# pkgdep.sh on Ubuntu 24.04 installs meson/pyelftools into a Python venv (PEP 668),
# so they aren't on PATH where DPDK's make invokes bare `meson`/`ninja`. Install
# the DPDK build tools globally too (meson, ninja-build, python3-pyelftools).
RUN apt-get update \
&& /spdk/scripts/pkgdep.sh \
&& apt-get install -y --no-install-recommends meson ninja-build python3-pyelftools \
&& cd /spdk \
&& ./configure --disable-tests --disable-unit-tests \
&& make -j"$(nproc)" \