Skip to content

Commit

Permalink
Updated hddtemp binary (#7)
Browse files Browse the repository at this point in the history
* Update Dockerfile

* Add files via upload

* Update README.md

Added slash to the end of --privileged=true

* Update README.md
  • Loading branch information
unclebacon-live authored Feb 8, 2021
1 parent 6e0dd26 commit 1c03db7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,15 @@ MAINTAINER Drewster727
# Install hddtemp
RUN apt-get update && apt-get -y install build-essential hddtemp


COPY hddtemp.db /etc/

# Replace hddtemp with new build and cleanup
ADD files /temp
RUN rm -f /usr/sbin/hddtemp
RUN cp /temp/hddtemp /usr/sbin/
RUN chmod +x /usr/sbin/hddtemp
RUN rm -fdr /temp

# Define default command.
# example = -d --listen localhost --port 7634 /dev/s*
CMD hddtemp $HDDTEMP_ARGS
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
docker container for hddtemp:
http://savannah.nongnu.org/projects/hddtemp

NOTE: This repository will install hddtemp in the docker container from apt repositories. I do not maintain the hddtemp project.
NOTE: This repository will install hddtemp (NVMe and default temperature compatible) in the docker container from apt repositories. I do not maintain the hddtemp project.

Example:
```
docker run -d \
--privileged=true
--privileged=true \
--name="hddtemp-docker" \
-e HDDTEMP_ARGS="-q -d -F /dev/sd*" \
-e TZ="America/Chicago" \
Expand Down
Binary file added files/hddtemp
Binary file not shown.

0 comments on commit 1c03db7

Please sign in to comment.