added p2pool

This commit is contained in:
Matthew Tran
2023-09-10 12:16:28 +00:00
parent 83a89e548b
commit c2c7a956c1
6 changed files with 25 additions and 4 deletions
+1
View File
@@ -0,0 +1 @@
cache
+7 -1
View File
@@ -1,9 +1,15 @@
FROM ubuntu:22.04
RUN apt-get update && apt-get upgrade
RUN apt-get install -y wget
RUN useradd -m matt
USER matt
WORKDIR /home/matt
# TODO everything else
# currently v3.6.2
RUN wget https://github.com/SChernykh/p2pool/releases/download/v3.6.2/p2pool-v3.6.2-linux-x64.tar.gz
RUN tar xvf p2pool-v3.6.2-linux-x64.tar.gz
RUN mv p2pool-v3.6.2-linux-x64/p2pool ./p2pool
COPY --chown=matt:matt entry.sh ./
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
cd cache
~/p2pool \
--mini \
--host monerod \
--wallet 42j7pyNRf8WE96D1xb6pjPWCwaDaYYevwZSPpELbTJjnXiKp7Lhtahbhb5Gc3p2BVxgMB3FEGNPUcbST1oZds6nBERA4jrQ