8f348399f5
- Consolidate config.sh and start.sh scripts into one script (start.sh) - Solve issue #435 - All dockers now run supervisord as their ENTRYPOINT - All stdout/stderr output from processes managed by supervisord is now sent to syslog instead of their own files - Supervisord log messages are now also sent to syslog - Removed unused smartmontools package from docker-platform-monitor
24 lines
481 B
Docker
24 lines
481 B
Docker
FROM docker-base
|
|
|
|
MAINTAINER Xudong Wu
|
|
|
|
## Make apt-get non-interactive
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
## Update apt's cache of available packages
|
|
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
|
|
|
|
COPY ["start.sh", "/usr/bin/"]
|
|
COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]
|
|
|
|
ENTRYPOINT ["/usr/bin/supervisord"]
|
|
|