2017-04-20 11:12:27 -05:00
|
|
|
FROM docker-fpm-quagga
|
2017-03-02 13:33:46 -06:00
|
|
|
|
|
|
|
## Make apt-get non-interactive
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2017-05-08 17:43:31 -05:00
|
|
|
RUN apt-get update
|
2017-03-02 13:33:46 -06:00
|
|
|
|
|
|
|
COPY \
|
|
|
|
{% for deb in docker_fpm_gobgp_debs.split(' ') -%}
|
|
|
|
debs/{{ deb }}{{' '}}
|
|
|
|
{%- endfor -%}
|
|
|
|
debs/
|
|
|
|
|
|
|
|
RUN dpkg -i \
|
|
|
|
{% for deb in docker_fpm_gobgp_debs.split(' ') -%}
|
|
|
|
debs/{{ deb }}{{' '}}
|
|
|
|
{%- endfor %}
|
|
|
|
|
|
|
|
## Clean up
|
|
|
|
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
|
|
|
|
RUN rm -rf /debs
|
|
|
|
|
2017-05-08 17:43:31 -05:00
|
|
|
COPY ["start.sh", "/usr/bin/"]
|
|
|
|
COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]
|
2017-03-02 13:33:46 -06:00
|
|
|
COPY ["*.j2", "/usr/share/sonic/templates/"]
|
|
|
|
COPY ["daemons", "/etc/quagga/"]
|
2020-03-03 18:50:32 -06:00
|
|
|
COPY ["files/supervisor-proc-exit-listener", "/usr/bin"]
|
|
|
|
COPY ["critical_processes", "/etc/supervisor"]
|
2017-03-02 13:33:46 -06:00
|
|
|
|
2020-11-20 01:41:32 -06:00
|
|
|
ENTRYPOINT ["supervisord"]
|