add geoip node mapping and cleanup dockerfiles

This commit is contained in:
lza_menace
2023-10-10 23:10:14 -07:00
parent 4650866877
commit 086b023dfc
7 changed files with 498 additions and 88 deletions

View File

@@ -1,4 +1,4 @@
FROM ubuntu:22.04
FROM ubuntu:22.04 as OG
ENV MONERO_HASH 186800de18f67cca8475ce392168aabeb5709a8f8058b0f7919d7c693786d56b
ENV MONERO_DL_URL https://downloads.getmonero.org/cli/monero-linux-x64-v0.18.2.2.tar.bz2
@@ -34,7 +34,9 @@ RUN wget -qO ${MONERO_DL_FILE} ${MONERO_DL_URL} \
WORKDIR /data
RUN wget https://gui.xmr.pm/files/block.txt -q
# Copy to fresh Ubuntu image to reduce size
FROM ubuntu:22.04
COPY --from=OG /usr/local/bin/monerod /usr/local/bin/monerod
EXPOSE 18080
EXPOSE 18081