updating dockerfiles
This commit is contained in:
10
dockerfiles/exporter
Normal file
10
dockerfiles/exporter
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM golang:bullseye as OG
|
||||
|
||||
# Install exporter from Github
|
||||
RUN go install github.com/cirocosta/monero-exporter/cmd/monero-exporter@master
|
||||
|
||||
# Copy installed binary to fresh Ubuntu image
|
||||
FROM ubuntu:22.04
|
||||
COPY --from=OG /go/bin/monero-exporter /usr/local/bin/monero-exporter
|
||||
|
||||
ENTRYPOINT [ "monero-exporter" ]
|
||||
Reference in New Issue
Block a user