This repository was archived by the owner on Apr 8, 2025. It is now read-only.
File tree 1 file changed +5
-16
lines changed
1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change 1
- FROM ligato/vpp-base:23.06@sha256:f68272b0aebe106673c7fffe94b6e6ccd06ecc9afd123ebcbbdc22b350bd2774 as builder
2
- SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
3
- COPY . /root/userspace-cni-network-plugin
4
- WORKDIR /root/userspace-cni-network-plugin
5
- RUN apt-get update -y \
6
- && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
7
- build-essential \
8
- meson \
9
- ninja-build \
10
- python3-pip \
11
- && pip3 install --no-cache-dir --upgrade meson==1.3.0 \
12
- && rm -rf /var/lib/apt/lists/*
1
+ FROM ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f
2
+ RUN apt-get -q update && apt-get install -y git vim meson python3-pyelftools libnuma-dev && \
3
+ rm -rf /var/lib/apt/lists/*
13
4
RUN git clone https://github.com/DPDK/dpdk.git
14
5
WORKDIR /dpdk/
15
- COPY requirements.txt /root/userspace-cni-network-plugin/requirements.txt
16
- RUN pip3 install --no-cache-dir -r /root/userspace-cni-network-plugin/requirements.txt
17
6
RUN meson build
18
- WORKDIR /build
7
+ WORKDIR /build/
19
8
RUN ninja
20
9
WORKDIR /dpdk/build/app
21
10
COPY ./testpmd.sh testpmd.sh
22
- CMD ["./testpmd.sh" ]
11
+ CMD ["./testpmd.sh" ]
You can’t perform that action at this time.
0 commit comments