From 2c42552be9023fc429930ad3f535f0eeceddb52d Mon Sep 17 00:00:00 2001 From: xumia <59720581+xumia@users.noreply.github.com> Date: Wed, 5 Jan 2022 08:06:30 +0800 Subject: [PATCH] [Build]: Fix gmock not found issue in debian stretch slave container (#9669) Fix the gmock not found issue in debian stretch slave container. Some of platforms, such as naphos, innovium, have such issue. --- sonic-slave-stretch/Dockerfile.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sonic-slave-stretch/Dockerfile.j2 b/sonic-slave-stretch/Dockerfile.j2 index 9494f6fa48..6d5009b313 100644 --- a/sonic-slave-stretch/Dockerfile.j2 +++ b/sonic-slave-stretch/Dockerfile.j2 @@ -300,6 +300,9 @@ RUN apt-get update && apt-get install -y \ libauparse-dev \ auditd +# For gmock +RUN apt-get install -y libgmock-dev -t stretch-backports + # Install dependencies for dhcp relay test RUN pip3 install parameterized==0.8.1 RUN pip3 install pyfakefs