a845740543
Add noninteractive setting into every Dockerfile in the repo Signed-off-by: Pavel Shirshov pavelsh@microsoft.com
31 lines
604 B
Django/Jinja
Executable File
31 lines
604 B
Django/Jinja
Executable File
FROM docker-base
|
|
|
|
## Make apt-get non-interactive
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
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"]
|