This commit is contained in:
Matthew Tran
2025-05-04 01:35:37 -07:00
parent cb8f88fd33
commit f2df23ad98
9 changed files with 29 additions and 29 deletions
-1
View File
@@ -1 +0,0 @@
.bitmonero
+6 -6
View File
@@ -3,12 +3,12 @@ FROM ubuntu:24.04
RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y wget bzip2
RUN groupadd -g 2001 me && useradd -u 2001 -g 2001 -m me
USER me
WORKDIR /home/me
WORKDIR /root
RUN wget https://downloads.getmonero.org/cli/monero-linux-x64-v0.18.3.4.tar.bz2 -O monerod.tar.bz2
RUN wget https://downloads.getmonero.org/cli/monero-linux-x64-v0.18.4.0.tar.bz2 -O monerod.tar.bz2
RUN tar xvf monerod.tar.bz2 && rm monerod.tar.bz2
RUN mv monero-x86_64-linux-gnu-v0.18.3.4 monero
RUN mv monero-x86_64-linux-gnu-v0.18.4.0 monero
COPY --chown=me:me entry.sh ./
COPY entry.sh ./
CMD ["/bin/bash", "/root/entry.sh"]
+2 -1
View File
@@ -3,6 +3,7 @@
# check bitmonero.log for log
monero/monerod \
--prune-blockchain \
--data-dir /root/data \
--rpc-bind-port 18089 \
--rpc-restricted-bind-ip 0.0.0.0 \
--rpc-restricted-bind-port 18081 \
@@ -17,6 +18,6 @@ monero/monerod \
cleanup() {
monero/monerod exit --rpc-bind-port 18089
}
trap 'cleanup' TERM
trap 'cleanup' SIGTERM SIGINT
tail -f /dev/null &
wait $!