2016-05-27 15:30:13 -05:00
|
|
|
FROM docker-base
|
|
|
|
|
|
|
|
MAINTAINER Xudong Wu
|
|
|
|
|
2017-02-16 23:48:49 -06:00
|
|
|
## Make apt-get non-interactive
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2016-05-27 15:30:13 -05:00
|
|
|
## Set the apt source
|
|
|
|
RUN apt-get clean && apt-get update
|
|
|
|
|
|
|
|
COPY deps /deps
|
2017-02-16 23:48:49 -06:00
|
|
|
|
2016-05-27 15:30:13 -05:00
|
|
|
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
|