Skip to content

Commit

Permalink
[ARM] Fix issue whre the ping6 tool is missing from orchagent docker (s…
Browse files Browse the repository at this point in the history
…onic-net#8345)

Signed-off-by: Jing Kan jika@microsoft.com
  • Loading branch information
Blueve authored and Carl Keene committed Aug 7, 2021
1 parent f1f4e43 commit fea3c05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dockers/docker-orchagent/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fea3c05

Please sign in to comment.