final build

made run.sh executable and added './' in minerd command in run.sh
This commit is contained in:
Divyansh Bhardwaj 2022-04-14 22:49:13 +05:30
parent 776bbfbf85
commit 56f290d485
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ RUN apt-get install checkinstall
RUN git clone https://github.com/pooler/cpuminer
WORKDIR ../cpuminer
COPY run.sh .
RUN chmod +x run.sh
RUN ./autogen.sh
RUN CFLAGS="-march=native" ./configure
RUN make

2
run.sh
View File

@ -4,4 +4,4 @@ cd /cpuminer
# Use Env variables in Config
## Change Network Config if needed
echo "Setup configs..."
minerd -o stratum+tcp://rm-pool.duckdns.org:3333 -a scrypt -u $USERNAME.$WORKER -p $PASS
./minerd -o stratum+tcp://rm-pool.duckdns.org:3333 -a scrypt -u $USERNAME.$WORKER -p $PASS