Skip to content

Commit 8ad4a0f

Browse files
xumiaUbuntu
authored andcommitted
[Build]: Fix gmock not found issue in debian stretch slave container (sonic-net#9669)
Fix the gmock not found issue in debian stretch slave container. Some of platforms, such as naphos, innovium, have such issue.
1 parent d7f4429 commit 8ad4a0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sonic-slave-stretch/Dockerfile.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ RUN apt-get update && apt-get install -y \
300300
libauparse-dev \
301301
auditd
302302

303+
# For gmock
304+
RUN apt-get install -y libgmock-dev -t stretch-backports
305+
303306
# Install dependencies for dhcp relay test
304307
RUN pip3 install parameterized==0.8.1
305308
RUN pip3 install pyfakefs

0 commit comments

Comments
 (0)