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 0000000000000000000000000000000000000000..e19b11327ddb81cc83b133302f16a627ad0265d5 --- /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 c92ef5b9f26f8f26951e0eafb36bbc5f049c36ac..ef00af147b486fc572e15c1b4e5996f30f7a8c58 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 180484845dccfe757d3d8b3b1310e083e994cfe6..46ca0e694b332e2b82ce921b259290f546b66ee0 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 af3488e754a251cc8247c5b6179cdfdc19879e97..873f379e4cb77fad7dbe485c572245897dc126b8 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