new exporter version

This commit is contained in:
a.pivkin
2025-12-17 10:02:26 +03:00
parent 91cc8ffe61
commit 59d2508e7f
12 changed files with 394 additions and 58 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o exporter .
RUN CGO_ENABLED=0 GOOS=linux go build -o rbd-exporter .
FROM ubuntu:22.04
RUN apt-get update && apt-get install -y \
@@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y \
WORKDIR /home/
COPY --from=builder /app/exporter .
COPY --from=builder /app/rbd-exporter .
EXPOSE 9040
CMD [ "./exporter" ]
CMD [ "./rbd-exporter" ]