| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:59e67123ba6a5d9eea9813e7b2a767696f767c15c5b23c61c4d5bd6ba6fa9ac6 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 |
| RUN /bin/sh -c cd /data/f-stack/dpdk && ls -l meson.build && meson setup build -Denable_drivers=bus/auxiliary,common/mlx5,net/mlx5,net/bonding,crypto/mlx5,bus/vdev,net/virtio -Denable_kmods=true && ninja -C build && ninja -C build install # 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 |