Skip to content

Commit

Permalink
[sairedis] Fix sairedis test setup (sonic-net#147)
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Allen <daall@microsoft.com>
  • Loading branch information
daall authored Aug 12, 2020
1 parent d764f93 commit b93e018
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/vs/sonic-sairedis-build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ docker run --rm=true --privileged -v $(pwd):/sonic -w /sonic -i sonicdev-microso

mkdir -p scripts/vs/sonic-sairedis-build/docker-sonic-vs/debs
cp *.deb scripts/vs/sonic-sairedis-build/docker-sonic-vs/debs
cp common/libswsscommon_1.0.0_amd64.deb scripts/vs/sonic-sairedis-build/docker-sonic-vs/debs

docker load < buildimage/target/docker-sonic-vs.gz

Expand Down
2 changes: 2 additions & 0 deletions scripts/vs/sonic-sairedis-build/docker-sonic-vs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM docker-sonic-vs

ADD ["debs", "/debs"]

RUN dpkg -i /debs/libswsscommon_1.0.0_amd64.deb

RUN dpkg -i /debs/libsaimetadata_1.0.0_amd64.deb
RUN dpkg -i /debs/libsairedis_1.0.0_amd64.deb
RUN dpkg -i /debs/libsaivs_1.0.0_amd64.deb
Expand Down

0 comments on commit b93e018

Please sign in to comment.