sonic-buildimage/platform/barefoot/docker-syncd-bfn/Dockerfile.j2
Sagar Balani 37287d2eef [barefoot]: Fix SONiC Build for BFN platforms (#2124)
* BFN fixes for sonic master bld (#26)

* Need to still update sde deb package with sai1.3.3, will be done in seperate commit

* Update bfn sde url - sai1.3.3
2018-10-05 09:44:08 -07:00

30 lines
655 B
Django/Jinja
Executable File

FROM docker-config-engine
## Make apt-get non-interactive
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
COPY \
{% for deb in docker_syncd_bfn_debs.split(' ') -%}
debs/{{ deb }}{{' '}}
{%- endfor -%}
debs/
RUN apt-get install -y libxml2 libpcap-dev libusb-1.0-0-dev libcurl3 libcurl4-gnutls-dev libunwind8-dev libpython3.4
RUN dpkg -i \
{% for deb in docker_syncd_bfn_debs.split(' ') -%}
debs/{{ deb }}{{' '}}
{%- endfor %}
COPY ["start.sh", "/usr/bin/"]
COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]
## Clean up
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
RUN rm -rf /debs
ENTRYPOINT ["/usr/bin/supervisord"]