lolkek
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user