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
|
|
|
|
|
2017-03-29 20:07:25 -05:00
|
|
|
ENTRYPOINT rm -f /var/run/rsyslogd.pid \
|
|
|
|
&& service rsyslog start \
|
2016-05-27 15:30:13 -05:00
|
|
|
&& /bin/bash
|