new exporter version
This commit is contained in:
@@ -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" ]
|
||||
Reference in New Issue
Block a user