[ARM] Fix issue whre the ping6 tool is missing from orchagent docker (#8345)

Signed-off-by: Jing Kan jika@microsoft.com
This commit is contained in:
Blueve 2021-08-05 22:00:50 +08:00 committed by GitHub
parent 1bc3fdbf25
commit aa01315f60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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