Permalink
Browse files

Update docker file

  • Loading branch information...
1 parent 2c4214a commit bda8844a0562d041fe4d24621fa3adf0f0cdfd70 @tpruvot committed Nov 19, 2016
Showing with 8 additions and 17 deletions.
  1. +8 −17 Dockerfile
View
@@ -1,25 +1,16 @@
-#
-# Dockerfile for cpuminer
-# usage: docker run creack/cpuminer --url xxxx --user xxxx --pass xxxx
-# ex: docker run creack/cpuminer --url stratum+tcp://ltc.pool.com:80 --user creack.worker1 --pass abcdef
-#
-#
+# Usage: docker build .
+# Usage: docker run tpruvot/cpuminer-multi -a xevan --url=stratum+tcp://yiimp.ccminer.org:3739 --user=iGadPnKrdpW3pcdVC3aA77Ku4anrzJyaLG --pass=x
-FROM ubuntu:12.10
-MAINTAINER Guillaume J. Charmes <guillaume@charmes.net>
+FROM ubuntu:14.04
+MAINTAINER Tanguy Pruvot <tanguy.pruvot@gmail.com>
RUN apt-get update -qq
-RUN apt-get install -qqy automake
-RUN apt-get install -qqy libcurl4-openssl-dev
-RUN apt-get install -qqy git
-RUN apt-get install -qqy make
+RUN apt-get install -qy automake autoconf pkg-config libcurl4-openssl-dev libssl-dev libjansson-dev libgmp-dev make g++ git
-RUN git clone https://github.com/pooler/cpuminer
+RUN git clone https://github.com/tpruvot/cpuminer-multi -b linux
-RUN cd cpuminer && ./autogen.sh
-RUN cd cpuminer && ./configure CFLAGS="-O3"
-RUN cd cpuminer && make
+RUN cd cpuminer-multi && ./build.sh
-WORKDIR /cpuminer
+WORKDIR /cpuminer-multi
ENTRYPOINT ["./cpuminer"]

0 comments on commit bda8844

Please sign in to comment.