6a6bc88dcb
The reason is that /etc/network/interfaces file is in base image. After booting, docker-swss is not ready and thus the empty VLAN interfaces cannot be created when the brctl is pointing to the binary inside the swss docker. Add the bridge-utils into the base image and add bridge_ports none to the /etc/network/interfaces file so that after boot-up the empty VLAN interfaces will be created to let the members to join later. Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
33 lines
684 B
Django/Jinja
Executable File
33 lines
684 B
Django/Jinja
Executable File
FROM docker-config-engine
|
|
|
|
## Make apt-get non-interactive
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -f -y ifupdown 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"]
|