This commit is contained in:
a.pivkin
2025-11-26 20:27:28 +03:00
parent 7113476e6d
commit 1e62c5483d
10 changed files with 442 additions and 28 deletions
+6 -3
View File
@@ -7,9 +7,12 @@ RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o exporter .
FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /root/
FROM ubuntu:22.04
RUN apt-get update && apt-get install -y \
ceph-common \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /home/
COPY --from=builder /app/exporter .
EXPOSE 9040