docker-fpm needs fpmsyncd. docker-team needs teamsyncd.
these two binaries only depends on libswsscommon but they are in swss repository.
swss repository depends on libsairedis which is in sairedis repo.
sairedis repo depends on libsai because syncd is in sairedis repo.
thus, docker-fpm and docker-team depend on libsai.
the ideal scenario is that only fpmsyncd and teamsyncd binaries are inside the docker. no libsairedis/libsai/swss are installed.
docker-fpm needs fpmsyncd. docker-team needs teamsyncd.
these two binaries only depends on libswsscommon but they are in swss repository.
swss repository depends on libsairedis which is in sairedis repo.
sairedis repo depends on libsai because syncd is in sairedis repo.
thus, docker-fpm and docker-team depend on libsai.
the ideal scenario is that only fpmsyncd and teamsyncd binaries are inside the docker. no libsairedis/libsai/swss are installed.