Skip to content

Commit 7794cea

Browse files
authored
[vs] Add missing installation to SWSS build (sonic-net#211)
- Include python3 swsscommon in SWSS VS build - Unify swss and sairedis dockerfiles Signed-off-by: Danny Allen <[email protected]>
1 parent 22d50dd commit 7794cea

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

scripts/vs/sonic-sairedis-build/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cp common/*swsscommon*_1.0.0_amd64.deb scripts/vs/sonic-sairedis-build/docker-so
1212

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

15-
pushd scripts/vs/sonic-sairedis-build
15+
pushd scripts/vs/sonic-swss-build
1616
docker build --no-cache -t docker-sonic-vs:${JOB_NAME##*/}.${BUILD_NUMBER} docker-sonic-vs
1717
popd
1818

scripts/vs/sonic-sairedis-build/docker-sonic-vs/Dockerfile

-14
This file was deleted.

scripts/vs/sonic-swss-build/docker-sonic-vs/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ ADD ["debs", "/debs"]
66

77
RUN dpkg -i /debs/libswsscommon_1.0.0_amd64.deb
88
RUN dpkg -i /debs/python-swsscommon_1.0.0_amd64.deb
9+
RUN dpkg -i /debs/python3-swsscommon_1.0.0_amd64.deb
910

1011
RUN dpkg -i /debs/libsaimetadata_1.0.0_amd64.deb
1112
RUN dpkg -i /debs/libsairedis_1.0.0_amd64.deb
1213
RUN dpkg -i /debs/libsaivs_1.0.0_amd64.deb
1314
RUN dpkg -i /debs/syncd-vs_1.0.0_amd64.deb
1415

15-
RUN md5sum /usr/bin/orchagent
1616
RUN dpkg -i /debs/swss_1.0.0_amd64.deb
17-
RUN md5sum /usr/bin/orchagent

0 commit comments

Comments
 (0)