Skip to content

Commit ea65962

Browse files
oleksandrivantsivtaoyl-ms
authored andcommitted
Fix compilation issue. (#198)
Fix docker-platform-monitor compilation issue. Update .gitignore file
1 parent 4fe1bdc commit ea65962

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ dockers/docker-lldp-sv2/Dockerfile
2929
dockers/docker-orchagent/Dockerfile
3030
dockers/docker-snmp-sv2/Dockerfile
3131
dockers/docker-team/Dockerfile
32+
dockers/docker-platform-monitor/Dockerfile

dockers/docker-platform-monitor/Dockerfile.j2

+7-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ RUN apt-get install -y smartmontools sensord
77
# Dependencies for sonic-cfggen
88
RUN apt-get install -y python-lxml python-jinja2 python-netaddr python-ipaddr python-yaml
99

10-
COPY debs/ debs
10+
COPY \
11+
{% for deb in docker_platform_monitor_debs.split(' ') -%}
12+
debs/{{ deb }}{{' '}}
13+
{%- endfor -%}
14+
debs/
15+
1116

1217
RUN dpkg -i \
13-
{% for deb in docker_fpm_debs.split(' ') -%}
18+
{% for deb in docker_platform_monitor_debs.split(' ') -%}
1419
debs/{{ deb }}{{' '}}
1520
{%- endfor %}
1621

0 commit comments

Comments
 (0)