@@ -3,6 +3,8 @@ FROM --platform=${TARGETPLATFORM} debian:12-slim AS builder
33
44ARG TARGETARCH
55ARG DPDK_VER=23.11.3
6+ ARG DPDK_BUILDTYPE=release
7+ ARG DPSERVICE_BUILDTYPE=debug
68ARG DPSERVICE_FEATURES=""
79
810WORKDIR /workspace
@@ -74,7 +76,7 @@ net/octeontx_ep,net/pcap,net/pfe,net/qede,net/sfc,net/softnic,net/thunderx,net/t
7476net/vdev_ntsvc,net/vhost,net/virtio,net/vmxnet3,net/bnx2x,net/netsvc,net/vdev_netsvc,\
7577crypto/dpaa_sec,crypto/bcmfs,crypto/caam_jr,crypto/cnxk,dpaa_sec,crypto/dpaa2_sec,crypto/nitrox,\
7678crypto/null,crypto/octeontx,crypto/octeontx2,crypto/scheduler,crypto/virtio -Ddisable_libs=power,\
77- vhost,gpudev build -Ddisable_apps="*" -Dtests=false
79+ vhost,gpudev build -Ddisable_apps="*" -Dtests=false -Dbuildtype=$DPDK_BUILDTYPE
7880RUN cd $DPDK_DIR/build && ninja
7981RUN cd $DPDK_DIR/build && ninja install
8082
@@ -93,7 +95,7 @@ COPY include/ include/
9395COPY .git/ .git/
9496
9597# Compile dpservice itself
96- RUN meson setup build -Dbuild_dpservice_cli=true $DPSERVICE_FEATURES && ninja -C build
98+ RUN meson setup build -Dbuild_dpservice_cli=true -Dbuildtype=$DPSERVICE_BUILDTYPE $DPSERVICE_FEATURES && ninja -C build
9799
98100
99101# Extended build image for test-image
0 commit comments