-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Eoghan Russell <eoghan.russell@intel.com>
- Loading branch information
1 parent
09bcd5c
commit 2d2336f
Showing
5 changed files
with
55 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
FROM ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f | ||
RUN apt-get -q update && apt-get install -y openvswitch-switch-dpdk | ||
RUN apt-get update -y \ | ||
&& apt-get install -y --no-install-recommends openvswitch-switch-dpdk \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
RUN update-alternatives --set ovs-vswitchd /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk | ||
##RUN sed -i "/rmmod bridge/d" /usr/share/openvswitch/scripts/ovs-kmod-ctl | ||
RUN apt install -y linux-headers-$(uname -r) | ||
CMD /usr/share/openvswitch/scripts/ovs-ctl start && sleep inf | ||
# RUN sed -i "/rmmod bridge/d" /usr/share/openvswitch/scripts/ovs-kmod-ctl | ||
RUN apt-get install -y --no-install-recommends linux-headers-"$(uname -r)" | ||
CMD ["/usr/share/openvswitch/scripts/ovs-ctl", "start", "&&", "sleep", "inf"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
FROM ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f | ||
RUN apt-get -q update && apt-get install -y git vim meson python3-pyelftools libnuma-dev | ||
RUN apt-get -q update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
git \ | ||
vim \ | ||
meson \ | ||
python3-pyelftools \ | ||
libnuma-dev \ | ||
python3-pip \ | ||
ninja-build \ | ||
build-essential \ | ||
&& pip3 install --no-cache-dir --upgrade meson==1.3.0 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
RUN apt-get update -y \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
RUN git clone https://github.com/DPDK/dpdk.git | ||
WORKDIR /dpdk/ | ||
RUN meson build | ||
RUN cd build && ninja | ||
WORKDIR /dpdk/build/ | ||
RUN ninja | ||
WORKDIR /dpdk/build/app | ||
COPY ./testpmd.sh testpmd.sh | ||
CMD ./testpmd.sh | ||
CMD ["./testpmd.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
FROM ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f | ||
RUN apt-get -q update && apt-get install -y git vim meson python3-pyelftools libnuma-dev | ||
RUN apt-get -q update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
git \ | ||
vim \ | ||
meson \ | ||
python3-pyelftools \ | ||
libnuma-dev \ | ||
python3-pip \ | ||
ninja-build \ | ||
build-essential \ | ||
&& pip3 install --no-cache-dir --upgrade meson==1.3.0 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
RUN apt-get update -y \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
RUN git clone https://github.com/DPDK/dpdk.git | ||
WORKDIR /dpdk/ | ||
RUN meson build | ||
RUN cd build && ninja | ||
WORKDIR /dpdk/build/ | ||
RUN ninja | ||
WORKDIR /dpdk/build/app | ||
COPY ./testpmd.sh testpmd.sh | ||
CMD ./testpmd.sh | ||
CMD ["./testpmd.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters