2017-02-07 20:11:19 -06:00
|
|
|
FROM docker-config-engine
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2017-02-16 23:48:49 -06:00
|
|
|
## Make apt-get non-interactive
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2016-12-05 13:12:19 -06:00
|
|
|
RUN apt-get update
|
|
|
|
|
2017-01-19 22:56:26 -06:00
|
|
|
RUN apt-get install -y libdbus-1-3 libdaemon0 libjansson4
|
|
|
|
|
2017-01-19 14:19:21 -06:00
|
|
|
COPY \
|
2017-04-20 11:12:27 -05:00
|
|
|
{% for deb in docker_fpm_quagga_debs.split(' ') -%}
|
2017-01-19 14:19:21 -06:00
|
|
|
debs/{{ deb }}{{' '}}
|
|
|
|
{%- endfor -%}
|
|
|
|
debs/
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2016-12-23 17:22:06 -06:00
|
|
|
RUN dpkg -i \
|
2017-04-20 11:12:27 -05:00
|
|
|
{% for deb in docker_fpm_quagga_debs.split(' ') -%}
|
2016-12-23 17:22:06 -06:00
|
|
|
debs/{{ deb }}{{' '}}
|
|
|
|
{%- endfor %}
|
2016-12-05 13:12:19 -06:00
|
|
|
|
|
|
|
## Clean up
|
|
|
|
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
|
2016-12-23 17:22:06 -06:00
|
|
|
RUN rm -rf /debs
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2017-08-21 15:55:59 -05:00
|
|
|
COPY ["bgpcfgd", "start.sh", "/usr/bin/"]
|
2017-05-08 17:43:31 -05:00
|
|
|
COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]
|
2017-02-18 19:50:29 -06:00
|
|
|
COPY ["*.j2", "/usr/share/sonic/templates/"]
|
2016-12-06 08:32:12 -06:00
|
|
|
|
2017-05-08 17:43:31 -05:00
|
|
|
ENTRYPOINT ["/usr/bin/supervisord"]
|