sonic-buildimage/dockers
Zhaohui Sun cc30771f6b
Add python3 virtual environment for docker-ptf (#10599)
Why I did it
Migrate ptftests script to python3, in order to do an incremental migration, add python virtual environment firstly, install all required python packages in virtual env as well.
Then migrate ptftests scripts from python2 to python3 one by one avoid impacting non-changed scripts.

Signed-off-by: Zhaohui Sun zhaohuisun@microsoft.com

How I did it
Add python3 virtual environment for docker-ptf.
Add submodule ptf-py3 and install patched ptf 0.9.3 into virtual environment as well, two ptf issues were reported here:
p4lang/ptf#173
p4lang/ptf#174

Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
2022-04-26 09:13:26 +08:00
..
docker-base Add a config variable to override default container registry instead of dockerhub. (#10166) 2022-03-14 18:09:20 +08:00
docker-base-bullseye Image disk space reduction (#10172) 2022-03-15 18:12:49 -07:00
docker-base-buster Image disk space reduction (#10172) 2022-03-15 18:12:49 -07:00
docker-base-stretch Add a config variable to override default container registry instead of dockerhub. (#10166) 2022-03-14 18:09:20 +08:00
docker-basic_router [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-config-engine [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-config-engine-bullseye Image disk space reduction (#10172) 2022-03-15 18:12:49 -07:00
docker-config-engine-buster Image disk space reduction (#10172) 2022-03-15 18:12:49 -07:00
docker-config-engine-stretch [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-database [redis] Upgrade redis version (#9757) 2022-02-15 16:43:01 -08:00
docker-dhcp-relay [dhcp_relay] Remove dhcp6mon (#10467) 2022-04-12 10:44:17 -07:00
docker-fpm-frr [chassis][bgp] create v4 and v6 peer group for VoQ internal neighbors (#9693) 2022-02-24 11:21:26 -08:00
docker-fpm-gobgp [dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7083) 2021-03-27 21:14:24 -07:00
docker-iccpd add platform to iccpd's env (#8945) 2021-12-08 09:21:44 -08:00
docker-lldp [chassis] Do not configure LLDP on recirc ports (#7909) 2022-04-25 13:14:17 -07:00
docker-macsec [macsec]: Upgrade docker-macsec to bullseye (#10574) 2022-04-17 20:32:51 +08:00
docker-mux Upgrade mux container to Bullseye (#10498) 2022-04-19 09:27:45 -07:00
docker-nat Create a docker-swss-layer that holds the swss package. 2022-01-06 09:26:55 -08:00
docker-orchagent [chassis] Get asic PCI ID from CHASSIS_STATE_DB and update asic_id in CONFIG_DB (#9681) 2022-04-25 13:09:42 -07:00
docker-pde [PDE]: introduce the SONiC Platform Development Env (#7510) 2021-07-24 16:24:43 -07:00
docker-platform-monitor Removed python2 dependency for sonic-pcied in sonic-platform-daemons (#10421) 2022-04-09 13:16:50 -07:00
docker-ptf Add python3 virtual environment for docker-ptf (#10599) 2022-04-26 09:13:26 +08:00
docker-ptf-sai install xmlrunner python3 version (#10086) 2022-02-28 11:21:04 +08:00
docker-router-advertiser Update docker-router-advertiser.supervisord.conf.j2 (#10375) 2022-04-06 09:44:21 -07:00
docker-sflow Create a docker-swss-layer that holds the swss package. 2022-01-06 09:26:55 -08:00
docker-snmp updated jinja template for snmp contact python2 vs python3 issue (#9949) 2022-02-10 09:01:46 -08:00
docker-sonic-mgmt Add scapy support for python3 virtual environment in the sonic-mgmt docker container (#10234) 2022-03-16 12:00:51 +08:00
docker-sonic-mgmt-framework Image disk space reduction (#10172) 2022-03-15 18:12:49 -07:00
docker-sonic-p4rt [PINS] update sonic-p4rt docker to bullseye (#10182) 2022-03-23 17:21:36 -07:00
docker-sonic-restapi [restapi]: Don't use python/python2 for restapi start scripts (#10285) 2022-03-22 18:34:42 -07:00
docker-sonic-sdk [sonic-sdk] add sonic sdk and sonic sdk buildenv (#6712) 2021-05-28 10:16:02 -07:00
docker-sonic-sdk-buildenv [sonic-sdk] add sonic sdk and sonic sdk buildenv (#6712) 2021-05-28 10:16:02 -07:00
docker-sonic-telemetry [Monit] Fix the issue which shows Monit can not reset its counter. (#10288) 2022-04-20 18:08:06 -07:00
docker-swss-layer-buster Create a docker-swss-layer that holds the swss package. 2022-01-06 09:26:55 -08:00
docker-teamd Create a docker-swss-layer that holds the swss package. 2022-01-06 09:26:55 -08:00
dockerfile-macros.j2 [sonic-config-engine] Clean up dependencies, pin versions; install Python 3 package in Buster container (#5656) 2020-10-26 13:48:50 -07:00