[docker-snmp] Install pyyaml in the container (#2533)

This dependency is needed for arista plugins to properly work.
This commit is contained in:
Samuel Angebault 2019-02-06 21:05:30 -08:00 committed by Ying Xie
parent 4023a77721
commit accaaccae8

View File

@ -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(' ') %}