From da50eca041122a9ffa9106bf391a4232c91ec99d Mon Sep 17 00:00:00 2001 From: Samuel Angebault Date: Wed, 6 Feb 2019 21:05:30 -0800 Subject: [PATCH] [docker-snmp] Install pyyaml in the container (#2533) This dependency is needed for arista plugins to properly work. --- dockers/docker-snmp-sv2/Dockerfile.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dockers/docker-snmp-sv2/Dockerfile.j2 b/dockers/docker-snmp-sv2/Dockerfile.j2 index f8deee49d3..ec50a4c8c2 100644 --- a/dockers/docker-snmp-sv2/Dockerfile.j2 +++ b/dockers/docker-snmp-sv2/Dockerfile.j2 @@ -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(' ') %}