diff --git a/sonic-slave-buster/Dockerfile.j2 b/sonic-slave-buster/Dockerfile.j2 index ba380918738..1813425ee9d 100644 --- a/sonic-slave-buster/Dockerfile.j2 +++ b/sonic-slave-buster/Dockerfile.j2 @@ -243,6 +243,8 @@ RUN apt-get update && apt-get install -y \ # For gtest libgtest-dev \ cmake \ +# For gmock + libgmock-dev \ # For pam_tacplus build autoconf-archive \ # For iproute2 diff --git a/sonic-slave-jessie/Dockerfile.j2 b/sonic-slave-jessie/Dockerfile.j2 index 3c3e773ed2f..3f410a073cf 100644 --- a/sonic-slave-jessie/Dockerfile.j2 +++ b/sonic-slave-jessie/Dockerfile.j2 @@ -214,6 +214,8 @@ RUN apt-get update && apt-get install -y \ # For gtest libgtest-dev \ cmake \ +# For gmock + libgmock-dev \ # For pam_tacplus build autoconf-archive \ # For python-based swsscommon diff --git a/sonic-slave-stretch/Dockerfile.j2 b/sonic-slave-stretch/Dockerfile.j2 index 1cef023b7a0..51e4965b833 100644 --- a/sonic-slave-stretch/Dockerfile.j2 +++ b/sonic-slave-stretch/Dockerfile.j2 @@ -290,6 +290,7 @@ RUN apt-get update && apt-get install -y \ python-lxml \ libexpat1-dev + ## Config dpkg ## install the configuration file if it’s currently missing RUN sudo augtool --autosave "set /files/etc/dpkg/dpkg.cfg/force-confmiss" @@ -383,7 +384,9 @@ RUN apt-get install -y vim # Install rsyslog RUN apt-get install -y rsyslog -RUN apt-get install -y libgtest-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 # Install cmake/cmake-data 3.13.2-1_bpo9+1