Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Update dcgm-exporter image
Browse files Browse the repository at this point in the history
  • Loading branch information
guptaNswati committed Oct 11, 2019
1 parent 11d9296 commit d4182bf
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions exporters/prometheus-dcgm/dcgm-exporter/Dockerfile
@@ -1,14 +1,20 @@
FROM ubuntu:16.04

ARG DCGM_VERSION=1.4.6
ARG DCGM_VERSION=1.7.1

COPY datacenter-gpu-manager_${DCGM_VERSION}_amd64.deb /tmp
RUN dpkg -i /tmp/*.deb && rm -f /tmp/*
RUN apt-get update && apt-get install -y --no-install-recommends libgomp1 \
wget && \
rm -rf /var/lib/apt/lists/*


RUN wget --no-check-certificate https://developer.download.nvidia.com/compute/redist/dcgm/${DCGM_VERSION}/DEBS/datacenter-gpu-manager_${DCGM_VERSION}_amd64.deb && \
dpkg -i datacenter-gpu-manager_*.deb && \
rm -f datacenter-gpu-manager_*.deb

COPY dcgm-exporter /usr/local/bin

ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES utility
ENV NVIDIA_DRIVER_CAPABILITIES all

VOLUME /run/prometheus

Expand Down

0 comments on commit d4182bf

Please sign in to comment.