diff --git a/dockers/docker-swss-layer-bullseye/Dockerfile.j2 b/dockers/docker-swss-layer-bullseye/Dockerfile.j2 index 15f0e0edcc..cd250698da 100644 --- a/dockers/docker-swss-layer-bullseye/Dockerfile.j2 +++ b/dockers/docker-swss-layer-bullseye/Dockerfile.j2 @@ -6,6 +6,8 @@ ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update +RUN apt-get install iputils-ping + {% if docker_swss_layer_bullseye_debs.strip() -%} # Copy locally-built Debian package dependencies {{ copy_files("debs/", docker_swss_layer_bullseye_debs.split(' '), "/debs/") }} diff --git a/dockers/docker-swss-layer-buster/Dockerfile.j2 b/dockers/docker-swss-layer-buster/Dockerfile.j2 index 36f085936d..a86b729418 100644 --- a/dockers/docker-swss-layer-buster/Dockerfile.j2 +++ b/dockers/docker-swss-layer-buster/Dockerfile.j2 @@ -6,6 +6,8 @@ ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update +RUN apt-get install iputils-ping + {% if docker_swss_layer_buster_debs.strip() -%} # Copy locally-built Debian package dependencies {{ copy_files("debs/", docker_swss_layer_buster_debs.split(' '), "/debs/") }}