Fix compilation issue. (#198)

Fix docker-platform-monitor compilation issue.
Update .gitignore file
This commit is contained in:
Oleksandr Ivantsiv 2017-01-20 23:55:42 +02:00 committed by Taoyu Li
parent 4fe1bdcf87
commit ea65962fe4
2 changed files with 8 additions and 2 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 %}