2016-12-23 17:26:51 -06:00
|
|
|
FROM docker-base
|
|
|
|
|
|
|
|
RUN apt-get update
|
|
|
|
|
2017-01-19 14:19:21 -06:00
|
|
|
COPY \
|
|
|
|
{% for deb in docker_syncd_cavm_debs.split(' ') -%}
|
|
|
|
debs/{{ deb }}{{' '}}
|
|
|
|
{%- endfor -%}
|
|
|
|
debs/
|
2016-12-23 17:26:51 -06:00
|
|
|
|
2016-12-26 18:16:52 -06:00
|
|
|
RUN apt-get -y install libpcap-dev libxml2-dev python-dev swig libsensors4-dev libjemalloc1
|
2016-12-23 17:26:51 -06:00
|
|
|
|
2016-12-26 18:16:52 -06:00
|
|
|
RUN dpkg -i \
|
|
|
|
{% for deb in docker_syncd_cavm_debs.split(' ') -%}
|
|
|
|
debs/{{ deb }}{{' '}}
|
|
|
|
{%- endfor %}
|
2016-12-23 17:26:51 -06:00
|
|
|
|
|
|
|
COPY ["start.sh", "/usr/bin/"]
|
|
|
|
|
2017-01-05 12:14:46 -06:00
|
|
|
COPY ["profile.ini", "/etc/ssw/AS7512/"]
|
|
|
|
|
2016-12-23 17:26:51 -06:00
|
|
|
## Clean up
|
|
|
|
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
|
2016-12-26 18:16:52 -06:00
|
|
|
RUN rm -rf /debs
|
2016-12-23 17:26:51 -06:00
|
|
|
|
|
|
|
ENTRYPOINT ["/bin/bash"]
|
|
|
|
CMD ["/usr/bin/start.sh"]
|