FROM docker-base RUN apt-get update COPY \ {% for deb in docker_syncd_mlnx_debs.split(' ') -%} debs/{{ deb }}{{' '}} {%- endfor -%} debs/ RUN apt-get install -y libxml2 RUN dpkg -i \ {% for deb in docker_syncd_mlnx_debs.split(' ') -%} debs/{{ deb }}{{' '}} {%- endfor %} COPY ["start.sh", "/usr/bin/"] COPY ["mlnx-fw-upgrade.sh", "/usr/bin/"] COPY ["/debs/fw-SPC.mfa", "/etc/mlnx/"] ## 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"]