From c5f77d4978c7609d384780b7ea5ba96dcd20601a Mon Sep 17 00:00:00 2001 From: Jason Kincl Date: Mon, 30 Oct 2023 09:38:26 -0400 Subject: [PATCH] Fix bug in Slurm build --- slurm/images/slurm/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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