2022-04-27 19:39:37 -05:00
|
|
|
FROM docker-fpm-quagga-{{DOCKER_USERNAME}}:{{DOCKER_USERTAG}}
|
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-22 23:18:44 -06:00
|
|
|
ENTRYPOINT ["/usr/local/bin/supervisord"]
|