add ban list to compile option
This commit is contained in:
@@ -17,7 +17,7 @@ WORKDIR /opt/monero
|
|||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get upgrade -y \
|
&& apt-get upgrade -y \
|
||||||
&& apt-get install -y tar wget bzip2
|
&& 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 /ban_list.txt "https://raw.githubusercontent.com/Boog900/monero-ban-list/main/ban_list.txt"
|
||||||
|
|
||||||
RUN wget -qO ${MONERO_DL_FILE} ${MONERO_DL_URL} \
|
RUN wget -qO ${MONERO_DL_FILE} ${MONERO_DL_URL} \
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ RUN git submodule update --init --force
|
|||||||
|
|
||||||
RUN make -j$threads
|
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
|
FROM ubuntu:22.04
|
||||||
|
|
||||||
WORKDIR /data
|
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/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-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 /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 18080
|
||||||
EXPOSE 18081
|
EXPOSE 18081
|
||||||
|
|||||||
Reference in New Issue
Block a user