From 3fb242000853098e82d3ef4b895264ad340c5506 Mon Sep 17 00:00:00 2001 From: Bryan Crossland Date: Mon, 24 Oct 2022 15:09:29 -0500 Subject: [PATCH] Signed-off-by: bacrossland bryan.crossland@target.com Why I did it Fix updated sonic-swss submodule which uses GMock for testing: 08711a8 [orchdaemon]: Fixed sairedis record file rotation (#2481) How I did it Add install of GMock to Dockerfile.j2 in all Debian releases. --- sonic-slave-stretch/Dockerfile.j2 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sonic-slave-stretch/Dockerfile.j2 b/sonic-slave-stretch/Dockerfile.j2 index 82d3d998ff94..51e4965b8332 100644 --- a/sonic-slave-stretch/Dockerfile.j2 +++ b/sonic-slave-stretch/Dockerfile.j2 @@ -384,10 +384,8 @@ RUN apt-get install -y vim # Install rsyslog RUN apt-get install -y rsyslog -RUN apt-get install -y libgtest-dev - -# For gmock -RUN apt-get install -y libgmock-dev +# For gtest and gmock +RUN apt-get install -y libgtest-dev libgmock-dev -t stretch-backports RUN apt-get install -y libarchive13 librhash0 RUN apt-get -t stretch-backports install -y libuv1