diff --git a/Dockerfile b/Dockerfile index 268fad9..4c32902 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/run.sh b/run.sh index b203bc0..668ed2b 100644 --- a/run.sh +++ b/run.sh @@ -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 \ No newline at end of file