Skip to content

Commit da50eca

Browse files
Staphyloyxieca
authored andcommitted
[docker-snmp] Install pyyaml in the container (#2533)
This dependency is needed for arista plugins to properly work.
1 parent ed2d87a commit da50eca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dockers/docker-snmp-sv2/Dockerfile.j2

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return
3535
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.6
3636
RUN python3.6 -m pip install --no-cache-dir hiredis
3737

38+
# Install pyyaml dependency for use by some plugins
39+
RUN python3.6 -m pip install --no-cache-dir pyyaml
40+
3841
{% if docker_snmp_sv2_whls.strip() -%}
3942
# Copy locally-built Python wheel dependencies
4043
{%- for whl in docker_snmp_sv2_whls.split(' ') %}

0 commit comments

Comments
 (0)