diff --git a/Cloud/openvswitch/3.6.0/24.03-lts-sp1/Dockerfile b/Cloud/openvswitch/3.6.0/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..cd85b2e125c16079029fe64c18c45e3315d471f4 --- /dev/null +++ b/Cloud/openvswitch/3.6.0/24.03-lts-sp1/Dockerfile @@ -0,0 +1,31 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +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..eff852c4b1b405b8909002955f1b7609cd1f2cbb 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-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/openvswitch/3.6.0/24.03-lts-sp1/Dockerfile) | openvswitch 3.6.0 on openEuler 24.03-LTS-SP1 | 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 2487f6ccbfae9c3243a272340a75dec6286831eb..5836a334b781a725fad11bd9fd547979721ad0ef 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-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/openvswitch/3.6.0/24.03-lts-sp1/Dockerfile) | openvswitch 3.6.0 on openEuler 24.03-LTS-SP1 | 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: | @@ -101,4 +102,4 @@ dependency: - unbound - nmap - python3 - - openssl + - openssl \ No newline at end of file diff --git a/Cloud/openvswitch/meta.yml b/Cloud/openvswitch/meta.yml index af3488e754a251cc8247c5b6179cdfdc19879e97..9dce85a4b10950f21e591ae37565af81ccb40c28 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-oe2403sp1: + path: 3.6.0/24.03-lts-sp1/Dockerfile \ No newline at end of file