sonic-buildimage/dockers/docker-bgp/Dockerfile
2016-08-04 10:39:33 -07:00

14 lines
480 B
Docker
Executable File

FROM docker-base
COPY deps/quagga_*.deb /deps/
RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return 1; } && \
dpkg_apt /deps/quagga_*.deb && \
apt-get clean -y && apt-get autoclean -y && apt-get autoremove -y && \
rm -rf /deps
COPY daemons /etc/quagga/
ENTRYPOINT service rsyslog start \
&& service quagga start \
&& /bin/bash