diff --git a/.gitignore b/.gitignore index 372634cfb016..1e87c52e6f71 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ dockers/docker-lldp-sv2/Dockerfile dockers/docker-orchagent/Dockerfile dockers/docker-snmp-sv2/Dockerfile dockers/docker-team/Dockerfile +dockers/docker-platform-monitor/Dockerfile diff --git a/dockers/docker-platform-monitor/Dockerfile.j2 b/dockers/docker-platform-monitor/Dockerfile.j2 index 83463acf480f..c6020d113ba6 100755 --- a/dockers/docker-platform-monitor/Dockerfile.j2 +++ b/dockers/docker-platform-monitor/Dockerfile.j2 @@ -7,10 +7,15 @@ RUN apt-get install -y smartmontools sensord # Dependencies for sonic-cfggen RUN apt-get install -y python-lxml python-jinja2 python-netaddr python-ipaddr python-yaml -COPY debs/ debs +COPY \ +{% for deb in docker_platform_monitor_debs.split(' ') -%} +debs/{{ deb }}{{' '}} +{%- endfor -%} +debs/ + RUN dpkg -i \ -{% for deb in docker_fpm_debs.split(' ') -%} +{% for deb in docker_platform_monitor_debs.split(' ') -%} debs/{{ deb }}{{' '}} {%- endfor %}