sonic-buildimage/dockers/docker-basic_router/Dockerfile
pavel-shirshov a845740543 [All Dockerfiles]: Prevent apt asking questions on the console (#300)
Add noninteractive setting into every Dockerfile in the repo

Signed-off-by: Pavel Shirshov pavelsh@microsoft.com
2017-02-16 21:48:49 -08:00

22 lines
409 B
Docker

FROM docker-base
MAINTAINER Xudong Wu
## Make apt-get non-interactive
ENV DEBIAN_FRONTEND=noninteractive
## Set the apt source
RUN apt-get clean && apt-get update
COPY deps /deps
RUN dpkg -i /deps/libopennsl_*.deb; \
dpkg -i /deps/libsaibcm_*.deb; \
apt-get -y install -f
RUN mv /deps/basic_router /usr/sbin/basic_router
ENTRYPOINT service rsyslog start \
&& /bin/bash