mirror of
https://git.wownero.com/lza_menace/docker-wownero.git
synced 2024-08-15 01:03:31 +00:00
update exporter install proc to get latest code
This commit is contained in:
parent
e7b744f4bb
commit
e1ad904f27
1 changed files with 6 additions and 7 deletions
|
@ -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 a new issue