From ee36fcfa352e9bfc006be9f37096011209721c44 Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Fri, 17 Oct 2025 00:13:07 +0000 Subject: [PATCH] 24.03-lts-sp2 update openvswitch to 3.6.0 --- .../3.6.0/24.03-lts-sp2/Dockerfile | 31 +++++++++++++++++++ Cloud/openvswitch/README.md | 1 + Cloud/openvswitch/doc/image-info.yml | 1 + Cloud/openvswitch/meta.yml | 4 ++- 4 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 Cloud/openvswitch/3.6.0/24.03-lts-sp2/Dockerfile diff --git a/Cloud/openvswitch/3.6.0/24.03-lts-sp2/Dockerfile b/Cloud/openvswitch/3.6.0/24.03-lts-sp2/Dockerfile new file mode 100644 index 00000000..e19b1132 --- /dev/null +++ b/Cloud/openvswitch/3.6.0/24.03-lts-sp2/Dockerfile @@ -0,0 +1,31 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} +ARG VERSION=3.6.0 + +RUN dnf update -y \ + && dnf install -y wget git gcc make autoconf automake libtool \ + openssl-devel libcap-ng-devel unbound-devel nmap-ncat net-tools \ + graphviz clang python3-flake8 python3-pip \ + && dnf clean all \ + && rm -rf /var/cache/dnf + +WORKDIR /opt + +RUN wget https://mirrors.tuna.tsinghua.edu.cn/gnu/groff/groff-1.23.0.tar.gz \ + && tar -xf groff-1.23.0.tar.gz \ + && rm -f groff-1.23.0.tar.gz \ + && cp groff-1.23.0/tmac/en.tmac /usr/share/groff/1.23.0/tmac/ \ + && rm -rf groff-1.23.0 + +RUN wget https://github.com/openvswitch/ovs/archive/refs/tags/v${VERSION}.tar.gz \ + && tar -zxvf v${VERSION}.tar.gz \ + && rm -f v${VERSION}.tar.gz + +WORKDIR /opt/ovs-${VERSION} + +RUN ./boot.sh \ + && ./configure \ + && make -j \ + && make install + +CMD ["ovs-vsctl", "--help"] \ No newline at end of file diff --git a/Cloud/openvswitch/README.md b/Cloud/openvswitch/README.md index c92ef5b9..ef00af14 100644 --- a/Cloud/openvswitch/README.md +++ b/Cloud/openvswitch/README.md @@ -16,6 +16,7 @@ The tag of each `openvswitch` docker image is consist of the version of `openvsw | Tag | Currently | Architectures | |-----------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|---------------| +|[3.6.0-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/openvswitch/3.6.0/24.03-lts-sp2/Dockerfile) | openvswitch 3.6.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 | | [3.5.0-oe2403sp1](https://gitee.com/openeuler/openeuler-openvswitch-images/blob/master/Cloud/openvswitch/3.5.0/24.03-lts-sp1/openvswitchfile) | Open vSwitch 3.5.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | # Usage diff --git a/Cloud/openvswitch/doc/image-info.yml b/Cloud/openvswitch/doc/image-info.yml index 18048484..46ca0e69 100644 --- a/Cloud/openvswitch/doc/image-info.yml +++ b/Cloud/openvswitch/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[3.6.0-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/openvswitch/3.6.0/24.03-lts-sp2/Dockerfile) | openvswitch 3.6.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[3.5.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/openvswitch/3.5.0/24.03-lts-sp1/Dockerfile)| Open vSwitch 3.5.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | download: | diff --git a/Cloud/openvswitch/meta.yml b/Cloud/openvswitch/meta.yml index af3488e7..873f379e 100644 --- a/Cloud/openvswitch/meta.yml +++ b/Cloud/openvswitch/meta.yml @@ -2,4 +2,6 @@ path: 3.5.0/24.03-lts-sp1/Dockerfile 3.5.1-oe2403sp1: - path: 3.5.1/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 3.5.1/24.03-lts-sp1/Dockerfile +3.6.0-oe2403sp2: + path: 3.6.0/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee