Fix dpdk build deps
This commit is contained in:
@@ -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)" \
|
||||
|
||||
Reference in New Issue
Block a user