mirror of
https://github.com/fscomfs/gpu-exporter.git
synced 2025-12-24 11:10:50 +08:00
6 lines
333 B
Docker
6 lines
333 B
Docker
FROM ubuntu:18.04
|
|
ARG TARGETARCH
|
|
RUN mkdir -p /cvmart-exporter
|
|
COPY build/bin/gpu-exporter-${TARGETARCH} /cvmart-exporter/gpu-exporter
|
|
ENV LD_LIBRARY_PATH=/host/usr/local/lib:/usr/local/Ascend/driver/lib64:/host/usr/local/Ascend/driver/lib64:/usr/local/dcmi:/host/usr/lib/:$LD_LIBRARY_PATH
|
|
ENTRYPOINT ["/cvmart-expoter/gpu-exporter"] |