File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ LABEL org.opencontainers.image.authors="Alexander Trost <
[email protected] >
15
15
org.opencontainers.image.version="N/A"
16
16
17
17
RUN apt-get -q update && \
18
- apt-get install -y --no-install-recommends smartmontools nvme-cli jq moreutils git ca-certificates && \
18
+ apt-get install -y --no-install-recommends smartmontools nvme-cli jq moreutils git ca-certificates moreutils && \
19
19
apt-get clean && \
20
20
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
21
21
mkdir -p /scripts && \
Original file line number Diff line number Diff line change 18
18
19
19
echo " Starting smartmon.sh loop ..."
20
20
while true ; do
21
- " /scripts/${SCRIPT} " " ${@ } " > " /var/lib/node_exporter/${OUTPUT_FILENAME} .prom"
21
+ " /scripts/${SCRIPT} " " ${@ } " | sponge " /var/lib/node_exporter/${OUTPUT_FILENAME} .prom"
22
22
sleep " ${INTERVAL} "
23
23
done
You can’t perform that action at this time.
0 commit comments