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
@@ -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:// --user creack.worker1 --pass abcdef
+# Usage: docker build .
+# Usage: docker run tpruvot/cpuminer-multi -a xevan --url=stratum+tcp:// --user=iGadPnKrdpW3pcdVC3aA77Ku4anrzJyaLG --pass=x
-FROM ubuntu:12.10
-MAINTAINER Guillaume J. Charmes <>
+FROM ubuntu:14.04
+MAINTAINER Tanguy Pruvot <>
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
+RUN git clone -b linux
-RUN cd cpuminer && ./
-RUN cd cpuminer && ./configure CFLAGS="-O3"
-RUN cd cpuminer && make
+RUN cd cpuminer-multi && ./
-WORKDIR /cpuminer
+WORKDIR /cpuminer-multi
ENTRYPOINT ["./cpuminer"]

0 comments on commit bda8844

Please sign in to comment.