2021-06-12 20:16:15 +00:00
|
|
|
FROM alpine AS build
|
|
|
|
|
|
|
|
RUN apk add --no-cache \
|
|
|
|
smartmontools \
|
|
|
|
jq \
|
|
|
|
nvme-cli \
|
|
|
|
bash \
|
2021-11-24 13:17:40 +00:00
|
|
|
hwids-pci \
|
|
|
|
ipmitool
|
2021-06-12 20:16:15 +00:00
|
|
|
|
|
|
|
COPY node-exporter-textfile-collector-scripts /scripts
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
COPY bridge.sh /scripts/
|
|
|
|
RUN chmod +x /scripts/bridge.sh
|
|
|
|
RUN chmod +x /entrypoint.sh
|
2021-06-19 04:41:09 +00:00
|
|
|
RUN test -f /scripts/smartmon.sh
|
|
|
|
RUN test -f /scripts/nvme_metrics.sh
|
|
|
|
RUN test -f /scripts/ipmitool
|
2021-06-12 20:16:15 +00:00
|
|
|
ENTRYPOINT /entrypoint.sh
|