Skip to content

Commit 70fff78

Browse files
authored
Added --purge of base docker image packages before installing new ones. (sonic-net#819)
Why I did: Swss debian package used in VS docker is not the same artifact as generated by Azure pipeline Compared md5sum of binaries of Azure artifact swss debian package and the one running in VS docker and they are not matching. How I did: To fix this doing explicit purge all packages before re-installing.
1 parent 1942d73 commit 70fff78

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.azure-pipelines/docker-sonic-vs/Dockerfile

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ ARG docker_container_name
44

55
ADD ["debs", "/debs"]
66

7+
RUN dpkg --purge python-swsscommon
8+
RUN dpkg --purge python3-swsscommon
9+
RUN dpkg --purge swss
10+
RUN dpkg --purge libsairedis
11+
RUN dpkg --purge libswsscommon
12+
RUN dpkg --purge libsaimetadata
13+
RUN dpkg --purge libsaivs
14+
RUN dpkg --purge syncd-vs
15+
716
RUN dpkg -i /debs/libswsscommon_1.0.0_amd64.deb
817
RUN dpkg -i /debs/python-swsscommon_1.0.0_amd64.deb
918
RUN dpkg -i /debs/python3-swsscommon_1.0.0_amd64.deb

0 commit comments

Comments
 (0)