Skip to content

Commit 67c0b43

Browse files
committed
Update pci.ids to silence nvme_metrics error
1 parent 5c875e3 commit 67c0b43

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Dockerfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,23 @@ LABEL org.opencontainers.image.authors="Alexander Trost <[email protected]>
1616

1717
RUN apt-get -q update && \
1818
apt-get install -y --no-install-recommends \
19-
smartmontools \
20-
nvme-cli \
19+
ca-certificates \
20+
git \
2121
jq \
2222
moreutils \
23-
git \
24-
ca-certificates \
25-
moreutils && \
23+
moreutils \
24+
nvme-cli \
25+
pciutils \
26+
smartmontools \
27+
wget && \
2628
apt-get clean && \
2729
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
2830
mkdir -p /scripts && \
2931
git clone --depth 1 --branch master --single-branch \
3032
https://github.com/prometheus-community/node-exporter-textfile-collector-scripts.git \
3133
/scripts && \
32-
chmod 755 /scripts/*
34+
chmod 755 /scripts/* && \
35+
update-pciids -q
3336

3437
COPY entrypoint.sh /entrypoint.sh
3538

0 commit comments

Comments
 (0)