From 795f33637152e1644afad1a37fa06e3cb93bcaeb Mon Sep 17 00:00:00 2001 From: Frederik <5511687+fightforlife@users.noreply.github.com> Date: Mon, 29 Jun 2020 18:21:59 +0200 Subject: [PATCH] create first version of Dockerfile This is just a first version of a Dockerfile for using hddfancontrol inside docker. To use this one needs to provide all hddfancontrol arguments via the env variable ARGS --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4461a17 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +#use official slim python image +FROM python:slim-buster + +#update repository +RUN apt-get update + +#install needed packages +RUN apt-get install -y smartmontools hdparm hddtemp fancontrol + +#install hddfancontrol +RUN pip3 install hddfancontrol + +#start hddtemp daemon and expose port +#EXPOSE 7634 +#CMD hddtemp -q -d -F /dev/sd* + +CMD hddfancontrol $ARGS