diff --git a/slurm/images/slurm/Dockerfile b/slurm/images/slurm/Dockerfile index 0a3e339..9c0c147 100644 --- a/slurm/images/slurm/Dockerfile +++ b/slurm/images/slurm/Dockerfile @@ -28,8 +28,7 @@ FROM docker.io/golang:1.21 as build-exporter WORKDIR /usr/src/app -RUN git clone https://github.com/vpenso/prometheus-slurm-exporter.git && \ - cd prometheus-slurm-exporter && \ +RUN git clone https://github.com/vpenso/prometheus-slurm-exporter.git /usr/src/app && \ make bin/prometheus-slurm-exporter FROM scratch as tmp