From aa01315f6011da69b9cd6f5ee06a23af59221fdb Mon Sep 17 00:00:00 2001 From: Blueve <672454911@qq.com> Date: Thu, 5 Aug 2021 22:00:50 +0800 Subject: [PATCH] [ARM] Fix issue whre the ping6 tool is missing from orchagent docker (#8345) Signed-off-by: Jing Kan jika@microsoft.com --- dockers/docker-orchagent/Dockerfile.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dockers/docker-orchagent/Dockerfile.j2 b/dockers/docker-orchagent/Dockerfile.j2 index 27c8598a1d..2a927b5f2b 100755 --- a/dockers/docker-orchagent/Dockerfile.j2 +++ b/dockers/docker-orchagent/Dockerfile.j2 @@ -24,9 +24,11 @@ RUN apt-get update && \ python3-dev {% if ( CONFIGURED_ARCH == "armhf" or CONFIGURED_ARCH == "arm64" ) %} -# Fix for gcc/python not found in arm docker +# Fix for gcc/python/iputils-ping not found in arm docker RUN apt-get install -f -y python2.7 python2.7-dev -RUN apt-get install -y gcc-8 +RUN apt-get install -y \ + gcc-8 \ + iputils-ping {% endif %} {% if CONFIGURED_ARCH == "armhf" %} RUN ln -s -f /usr/bin/gcc-8 /usr/bin/arm-linux-gnueabihf-gcc