Update swi-tools in buster Dockerfile (#6414)

Fixed swi-tools code to work with `python3`
Updated the version of swi-tools downloaded by the `sonic-slave-buster/Dockerfile.j2`
Other Dockerfiles still use the `python2` version, though swi-tools is not used within the stretch builder.
This commit is contained in:
Samuel Angebault 2021-01-13 08:32:22 -08:00 committed by Guohan Lu
parent 7a102cd785
commit e6a78b65c5

View File

@ -479,7 +479,7 @@ RUN update-alternatives --set iptables /usr/sbin/iptables-legacy
RUN pip2 install m2crypto==0.36.0
# Install swi tools
RUN pip2 install git+https://github.com/aristanetworks/swi-tools.git@d51761ec0bb93c73039233f3c01ed48235ffad00
RUN pip3 install git+https://github.com/aristanetworks/swi-tools.git@bead66bf261770237f7dd21ace3774ba04a017e9
{% if CONFIGURED_ARCH != "amd64" -%}
# Install node.js for azure pipeline