Add spy node ban list (#28)

* Add spy node ban list

* Update dockerfiles/monero

Co-authored-by: Dvd-Znf <101937630+Dvd-Znf@users.noreply.github.com>

---------

Co-authored-by: lalanza808 <lalanza808@users.noreply.github.com>
Co-authored-by: Dvd-Znf <101937630+Dvd-Znf@users.noreply.github.com>
This commit is contained in:
nyuuzyou
2024-12-13 07:16:59 +03:00
committed by GitHub
parent bbd4b7e923
commit 5f1b7ebf1d
3 changed files with 8 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ ENV MONERO_SUMS_FILE sha256sums
WORKDIR /opt/monero
# Update system and install dependencies
# Download ban list
# Download Monero binaries from getmonero.org
# Confirm hashes match
# Install daemon binary
@@ -16,6 +17,8 @@ WORKDIR /opt/monero
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y tar wget bzip2
RUN wget -qO /ban_list.txt "https://raw.githubusercontent.com/Boog900/monero-ban-list/main/ban_list.txt"
RUN wget -qO ${MONERO_DL_FILE} ${MONERO_DL_URL} \
&& echo "${MONERO_HASH} ${MONERO_DL_FILE}" > ${MONERO_SUMS_FILE} \
@@ -37,6 +40,7 @@ WORKDIR /data
# Copy to fresh Ubuntu image to reduce size
FROM ubuntu:22.04
COPY --from=OG /usr/local/bin/monerod /usr/local/bin/monerod
COPY --from=OG /ban_list.txt /ban_list.txt
EXPOSE 18080
EXPOSE 18081