FROM docker-base ## Make apt-get non-interactive ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update COPY \ {% for deb in docker_syncd_cavm_debs.split(' ') -%} debs/{{ deb }}{{' '}} {%- endfor -%} debs/ RUN apt-get -y install libpcap-dev libxml2-dev python-dev swig libsensors4-dev libjemalloc1 RUN dpkg -i \ {% for deb in docker_syncd_cavm_debs.split(' ') -%} debs/{{ deb }}{{' '}} {%- endfor %} COPY ["start.sh", "/usr/bin/"] COPY ["profile.ini", "/etc/ssw/AS7512/"] ## Clean up RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y RUN rm -rf /debs ENTRYPOINT ["/bin/bash"] CMD ["/usr/bin/start.sh"]