b6753e7960
* [docker-config-engine]: introduce docker sonic config engine sonic config engine provide the sonic configure engine for all sonic dockers that rely on the engine to generate runtime configuration.
19 lines
430 B
Docker
Executable File
19 lines
430 B
Docker
Executable File
FROM docker-config-engine
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y smartmontools sensord
|
|
|
|
## Clean up
|
|
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
|
|
RUN rm -rf /debs
|
|
|
|
COPY ["config.sh", "/usr/bin/"]
|
|
|
|
ENTRYPOINT /usr/bin/config.sh \
|
|
&& service rsyslog start \
|
|
&& service lm-sensors start \
|
|
&& service smartmontools start \
|
|
&& service sensord start \
|
|
&& /bin/bash
|