Initial commit

main
Dustin 2023-09-30 15:44:15 -05:00
commit 0288ec4198
1 changed files with 12 additions and 0 deletions

12
Containerfile Normal file
View File

@ -0,0 +1,12 @@
FROM docker.io/library/golang:1.21 AS build
RUN go install github.com/lucab/local_exporter@latest
FROM registry.fedoraproject.org/fedora-minimal:38
COPY --from=build /go/bin/local_exporter /usr/local/bin/local_exporter
ENTRYPOINT ["local_exporter"]
USER 252:252