| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:82f38ebced7b2756311fb492d3d44cc131b22654e8620baa93883537a3e355aa in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c apt-get update && apt-get install -y git build-essential curl libc6-dev linux-libc-dev libnuma-dev pkg-config python3 python3-pip python3-pyelftools gawk gcc make meson ninja-build libssl-dev libcurl4-openssl-dev libnghttp2-dev libcjson-dev linux-headers-$(uname -r) && rm -rf /var/lib/apt/lists/* # buildkit |
| ENV GO_VERSION=1.24.3 |
| RUN /bin/sh -c curl -L https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz | tar -xz -C /usr/local # buildkit |
| ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN /bin/sh -c curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && apt-get install -y nodejs && npm install -g npm@latest # buildkit |
| RUN /bin/sh -c go version && node --version && npm --version # buildkit |
| RUN /bin/sh -c git clone --recursive https://vitaly%40peresvet.it:8f16cea8b84c982afe5550449d553b82bc11c5d6@git.peresvet.it/vitaly/F-Stack /data/f-stack # buildkit |
| WORKDIR /data/f-stack/dpdk |
| RUN /bin/sh -c cd /data/f-stack/dpdk && ls -l meson.build # buildkit |
| RUN /bin/sh -c echo "=== Checking DPDK directory structure ===" && ls -la && if [ ! -f meson.build ]; then echo "ERROR: meson.build not found in $(pwd)"; echo "Directory contents:"; ls -la; exit 1; fi && echo "=== Building DPDK with universal settings ===" && meson setup build -Dplatform=generic -Dcpu_instruction_set=generic -Denable_drivers=bus/vdev,bus/pci,net/virtio,net/e1000,net/vmxnet3,mempool/ring,mempool/stack,bus/auxiliary,common/mlx5,net/mlx5,net/bonding,crypto/mlx5,bus/vdev,net/virtio -Dexamples='' -Dtests=false -Dbuildtype=release && ninja -C build && ninja -C build install && ldconfig # buildkit |
| RUN /bin/sh -c pkg-config --modversion libdpdk || echo "WARNING: DPDK pkg-config not found" # buildkit |
| RUN /bin/sh -c export FF_PATH=/data/f-stack && export PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib/pkgconfig && cd /data/f-stack/lib/ && make && make install # buildkit |
| WORKDIR /build |