66aebb329c
Move from sed to jinja2 for more readability.
26 lines
535 B
Django/Jinja
Executable File
26 lines
535 B
Django/Jinja
Executable File
FROM docker-base
|
|
|
|
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 debs /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"]
|