forked from tpruvot/cpuminer-multi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]> | ||
FROM ubuntu:14.04 | ||
MAINTAINER Tanguy Pruvot <[email protected]> | ||
|
||
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"] |