initial commit
This commit is contained in:
29
Dockerfile
Normal file
29
Dockerfile
Normal file
@@ -0,0 +1,29 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
LABEL org.opencontainers.image.authors="tigerblue77"
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
RUN apt-get install ipmitool -y
|
||||
|
||||
ADD functions.sh /app/functions.sh
|
||||
ADD healthcheck.sh /app/healthcheck.sh
|
||||
ADD Dell_iDRAC_fan_controller.sh /app/Dell_iDRAC_fan_controller.sh
|
||||
|
||||
RUN chmod 0777 /app/functions.sh /app/healthcheck.sh /app/Dell_iDRAC_fan_controller.sh
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "/app/healthcheck.sh" ]
|
||||
|
||||
# you should override these default values when running. See README.md
|
||||
# ENV IDRAC_HOST 192.168.1.100
|
||||
ENV IDRAC_HOST local
|
||||
# ENV IDRAC_USERNAME root
|
||||
# ENV IDRAC_PASSWORD calvin
|
||||
ENV FAN_SPEED 5
|
||||
ENV CPU_TEMPERATURE_THRESHOLD 50
|
||||
ENV CHECK_INTERVAL 60
|
||||
ENV DISABLE_THIRD_PARTY_PCIE_CARD_DELL_DEFAULT_COOLING_RESPONSE false
|
||||
|
||||
CMD ["./Dell_iDRAC_fan_controller.sh"]
|
||||
Reference in New Issue
Block a user