update exporter install proc to get latest code
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 && \
|
||||
tar xzvf monero-exporter.tar.gz && \
|
||||
mv ./monero-exporter /usr/local/bin && \
|
||||
chmod +x /usr/local/bin/monero-exporter
|
||||
# Install GeoLite database
|
||||
RUN wget https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb -O /geoip.mmdb
|
||||
|
||||
ENTRYPOINT [ "/usr/local/bin/monero-exporter" ]
|
||||
ENTRYPOINT [ "monero-exporter", "--geoip-filepath", "/geoip.mmdb" ]
|
Loading…
Reference in New Issue