Skip to content

Commit

Permalink
[docker-snmp] Install pyyaml in the container (sonic-net#2533)
Browse files Browse the repository at this point in the history
This dependency is needed for arista plugins to properly work.
  • Loading branch information
Staphylo authored and yxieca committed Feb 7, 2019
1 parent 4023a77 commit accaacc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dockers/docker-snmp-sv2/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.6
RUN python3.6 -m pip install --no-cache-dir hiredis

# Install pyyaml dependency for use by some plugins
RUN python3.6 -m pip install --no-cache-dir pyyaml

{% if docker_snmp_sv2_whls.strip() -%}
# Copy locally-built Python wheel dependencies
{%- for whl in docker_snmp_sv2_whls.split(' ') %}
Expand Down

0 comments on commit accaacc

Please sign in to comment.