Skip to content

Commit

Permalink
[VS] Fix for VS test failures (sonic-net#1836)
Browse files Browse the repository at this point in the history
* Purge swss-common before installing
  • Loading branch information
prsunny authored Jul 25, 2021
1 parent c81e319 commit 0fe2dfe
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .azure-pipelines/docker-sonic-vs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ ARG docker_container_name

ADD ["debs", "/debs"]

RUN dpkg --purge python-swsscommon
RUN dpkg --purge python3-swsscommon
RUN dpkg --purge swss
RUN dpkg --purge libsairedis
RUN dpkg --purge libswsscommon
RUN dpkg --purge libsaimetadata
RUN dpkg --purge libsaivs
RUN dpkg --purge syncd-vs

RUN dpkg -i /debs/libswsscommon_1.0.0_amd64.deb
RUN dpkg -i /debs/python-swsscommon_1.0.0_amd64.deb
RUN dpkg -i /debs/python3-swsscommon_1.0.0_amd64.deb
Expand Down

0 comments on commit 0fe2dfe

Please sign in to comment.