mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2026-06-28 01:58:34 +00:00
wip5
This commit is contained in:
@@ -1 +0,0 @@
|
||||
.bitmonero
|
||||
+6
-6
@@ -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
@@ -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 $!
|
||||
|
||||
Reference in New Issue
Block a user