final build
made run.sh executable and added './' in minerd command in run.sh
This commit is contained in:
parent
776bbfbf85
commit
56f290d485
@ -24,6 +24,7 @@ RUN apt-get install checkinstall
|
|||||||
RUN git clone https://github.com/pooler/cpuminer
|
RUN git clone https://github.com/pooler/cpuminer
|
||||||
WORKDIR ../cpuminer
|
WORKDIR ../cpuminer
|
||||||
COPY run.sh .
|
COPY run.sh .
|
||||||
|
RUN chmod +x run.sh
|
||||||
RUN ./autogen.sh
|
RUN ./autogen.sh
|
||||||
RUN CFLAGS="-march=native" ./configure
|
RUN CFLAGS="-march=native" ./configure
|
||||||
RUN make
|
RUN make
|
||||||
|
|||||||
2
run.sh
2
run.sh
@ -4,4 +4,4 @@ cd /cpuminer
|
|||||||
# Use Env variables in Config
|
# Use Env variables in Config
|
||||||
## Change Network Config if needed
|
## Change Network Config if needed
|
||||||
echo "Setup configs..."
|
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
|
||||||
Loading…
Reference in New Issue
Block a user