docker-syncd-cavm : Changed template method to jinja2 (#161)
* Cavium support in the new build infrastructure * Added a file with a list of cavium debian packages * docker-syncd-cavm : Added SAI and XDK libraries * docker-syncd-cavm : Removed redis-tools from docker template * docker-syncd-cavm : Changed templating method to jinja2 * docker-syncd-cavm : Install libjemalloc1
This commit is contained in:
parent
3f1a7895b8
commit
057eea8496
@ -2,17 +2,20 @@ FROM docker-base
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
COPY deps /deps
|
||||
COPY debs /debs
|
||||
|
||||
RUN apt-get -y install libpcap-dev libxml2-dev python-dev swig libsensors4-dev
|
||||
RUN apt-get -y install libpcap-dev libxml2-dev python-dev swig libsensors4-dev libjemalloc1
|
||||
|
||||
SED_DPKG
|
||||
RUN dpkg -i \
|
||||
{% for deb in docker_syncd_cavm_debs.split(' ') -%}
|
||||
debs/{{ deb }}{{' '}}
|
||||
{%- endfor %}
|
||||
|
||||
COPY ["start.sh", "/usr/bin/"]
|
||||
|
||||
## Clean up
|
||||
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
|
||||
RUN rm -rf /deps
|
||||
RUN rm -rf /debs
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
CMD ["/usr/bin/start.sh"]
|
Reference in New Issue
Block a user