Skip to content

Commit

Permalink
docker-syncd-cavm : Changed template method to jinja2 (#161)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
garyachy authored and lguohan committed Dec 27, 2016
1 parent 3f1a789 commit 057eea8
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 057eea8

Please sign in to comment.