update exporter install proc to get latest code

master
lza_menace 2 years ago
parent e7b744f4bb
commit e1ad904f27

@ -1,10 +1,9 @@
FROM ubuntu:22.04 FROM golang:bullseye
RUN apt-get update && apt-get install wget tar -y # Install exporter from Golang source
RUN go install github.com/cirocosta/monero-exporter/cmd/monero-exporter@master
RUN wget https://github.com/cirocosta/monero-exporter/releases/download/v0.0.2/monero-exporter_0.0.2_linux_amd64.tar.gz -O monero-exporter.tar.gz && \ # Install GeoLite database
tar xzvf monero-exporter.tar.gz && \ RUN wget https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb -O /geoip.mmdb
mv ./monero-exporter /usr/local/bin && \
chmod +x /usr/local/bin/monero-exporter
ENTRYPOINT [ "/usr/local/bin/monero-exporter" ] ENTRYPOINT [ "monero-exporter", "--geoip-filepath", "/geoip.mmdb" ]
Loading…
Cancel
Save