diff --git a/dist/images/Dockerfile.base b/dist/images/Dockerfile.base index fd91f07c3eb..327642f62fc 100644 --- a/dist/images/Dockerfile.base +++ b/dist/images/Dockerfile.base @@ -12,8 +12,10 @@ RUN apt update && apt install build-essential git libnuma-dev autoconf curl \ flake8 python3-sphinx graphviz groff wget -y RUN cd /usr/src/ && \ - git clone -b ovn-22.03.1 --depth=1 https://github.com/kubeovn/ovs.git && \ + git clone -b branch-2.17 --depth=1 https://github.com/openvswitch/ovs.git && \ cd ovs && \ + # ovsdb-idl: Support write-only-changed IDL monitor mode + curl -s https://github.com/kubeovn/ovs/commit/24c1b28c416d3a0312c10a9fe9341c04b8b31ce9.patch | git apply && \ # fix memleak curl -s https://github.com/kubeovn/ovs/commit/2dc8e7aa202818952b2fa80b47298604530c9de0.patch | git apply && \ # increase election timer @@ -28,7 +30,7 @@ RUN cd /usr/src/ && \ RUN dpkg -i /usr/src/python3-openvswitch*.deb /usr/src/libopenvswitch*.deb -RUN cd /usr/src/ && git clone -b v22.03.1 --depth=1 https://github.com/ovn-org/ovn.git && \ +RUN cd /usr/src/ && git clone -b branch-22.03 --depth=1 https://github.com/ovn-org/ovn.git && \ cd ovn && \ # avoid patch interface deletion & recreation during restart curl -s https://github.com/kubeovn/ovn/commit/48c615300047adcda36535029b04ed30b69ca4c2.patch | git apply && \