Skip to content

Commit

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

Signed-off-by: Jing Kan [email protected]
  • Loading branch information
Blueve authored Aug 5, 2021
1 parent 1bc3fdb commit aa01315
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 aa01315

Please sign in to comment.