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