Skip to content

Commit d239c5a

Browse files
authored
Merge pull request galexrt#6 from mje-nz/nvme-metrics-support
Better support for nvme_metrics script
2 parents cdca570 + 67c0b43 commit d239c5a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Dockerfile

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,24 @@ LABEL org.opencontainers.image.authors="Alexander Trost <[email protected]>
1515
org.opencontainers.image.version="N/A"
1616

1717
RUN apt-get -q update && \
18-
apt-get install -y --no-install-recommends smartmontools nvme-cli jq moreutils git ca-certificates moreutils && \
18+
apt-get install -y --no-install-recommends \
19+
ca-certificates \
20+
git \
21+
jq \
22+
moreutils \
23+
moreutils \
24+
nvme-cli \
25+
pciutils \
26+
smartmontools \
27+
wget && \
1928
apt-get clean && \
2029
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
2130
mkdir -p /scripts && \
2231
git clone --depth 1 --branch master --single-branch \
2332
https://github.com/prometheus-community/node-exporter-textfile-collector-scripts.git \
2433
/scripts && \
25-
chmod 755 /scripts/*
34+
chmod 755 /scripts/* && \
35+
update-pciids -q
2636

2737
COPY entrypoint.sh /entrypoint.sh
2838

0 commit comments

Comments
 (0)