sonic-buildimage/dockers/docker-bgp/Dockerfile

17 lines
548 B
Docker
Raw Normal View History

FROM docker-base
2016-03-08 13:42:20 -06:00
## Make apt-get non-interactive
ENV DEBIAN_FRONTEND=noninteractive
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
2016-03-08 13:42:20 -06:00
COPY daemons /etc/quagga/
2016-03-08 13:42:20 -06:00
ENTRYPOINT service rsyslog start \
&& service quagga start \
&& /bin/bash