Skip to content

Commit

Permalink
create first version of Dockerfile
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fightforlife authored Jun 29, 2020
1 parent 853547f commit 795f336
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 795f336

Please sign in to comment.