Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 65f0cd8

Browse files
author
Eoghan Russell
committed
Fix errors
Signed-off-by: Eoghan Russell <[email protected]>
1 parent fb06aad commit 65f0cd8

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

docker/testpmd/Dockerfile

+5-16
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
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/*
134
RUN git clone https://github.com/DPDK/dpdk.git
145
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
176
RUN meson build
18-
WORKDIR /build
7+
WORKDIR /build/
198
RUN ninja
209
WORKDIR /dpdk/build/app
2110
COPY ./testpmd.sh testpmd.sh
22-
CMD ["./testpmd.sh"]
11+
CMD ["./testpmd.sh"]

0 commit comments

Comments
 (0)