From a2aceeeecc7a48113fa401943cc5a2b9bed2c9a9 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 12 Dec 2024 20:28:20 -0800 Subject: [PATCH] add ban list to compile option --- dockerfiles/monero | 2 +- dockerfiles/monero_compile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dockerfiles/monero b/dockerfiles/monero index a5ec738..a00b49d 100644 --- a/dockerfiles/monero +++ b/dockerfiles/monero @@ -17,7 +17,7 @@ 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} \ diff --git a/dockerfiles/monero_compile b/dockerfiles/monero_compile index 3041708..378b0a2 100644 --- a/dockerfiles/monero_compile +++ b/dockerfiles/monero_compile @@ -15,6 +15,8 @@ RUN git submodule update --init --force RUN make -j$threads +RUN wget -qO /ban_list.txt "https://raw.githubusercontent.com/Boog900/monero-ban-list/main/ban_list.txt" + FROM ubuntu:22.04 WORKDIR /data @@ -23,6 +25,7 @@ COPY --from=og /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/ COPY --from=og /opt/monero/build/Linux/_no_branch_/release/bin/monerod /bin/monerod COPY --from=og /opt/monero/build/Linux/_no_branch_/release/bin/monero-wallet-cli /bin/monero-wallet-cli COPY --from=og /opt/monero/build/Linux/_no_branch_/release/bin/monero-wallet-rpc /bin/monero-wallet-rpc +COPY --from=og /ban_list.txt /ban_list.txt EXPOSE 18080 EXPOSE 18081