b6753e7960
* [docker-config-engine]: introduce docker sonic config engine sonic config engine provide the sonic configure engine for all sonic dockers that rely on the engine to generate runtime configuration.
30 lines
629 B
Django/Jinja
Executable File
30 lines
629 B
Django/Jinja
Executable File
FROM docker-config-engine
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -f -y ifupdown bridge-utils libdbus-1-3 libdaemon0 libjansson4
|
|
|
|
## Install redis-tools dependencies
|
|
## TODO: implicitly install dependencies
|
|
RUN apt-get -y install libjemalloc1
|
|
|
|
COPY \
|
|
{% for deb in docker_orchagent_debs.split(' ') -%}
|
|
debs/{{ deb }}{{' '}}
|
|
{%- endfor -%}
|
|
debs/
|
|
|
|
RUN dpkg -i \
|
|
{% for deb in docker_orchagent_debs.split(' ') -%}
|
|
debs/{{ deb }}{{' '}}
|
|
{%- endfor %}
|
|
|
|
COPY start.sh /usr/bin/start.sh
|
|
|
|
## 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"]
|