Created
January 22, 2018 09:30
-
-
Save leogr/6f36b4178ff521d3f1845eca22842883 to your computer and use it in GitHub Desktop.
cpuminer-arm64-Dockerfile
This file contains hidden or 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
| # Usage: docker build . | |
| # Usage: docker run tpruvot/cpuminer-multi -a xevan --url=stratum+tcp://yiimp.ccminer.org:3739 --user=iGadPnKrdpW3pcdVC3aA77Ku4anrzJyaLG --pass=x | |
| FROM ubuntu:14.04 | |
| MAINTAINER Tanguy Pruvot <tanguy.pruvot@gmail.com> | |
| RUN apt-get update -qq | |
| 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/tpruvot/cpuminer-multi -b linux | |
| RUN cd cpuminer-multi && ./autogen.sh | |
| RUN cd cpuminer-multi && ./configure CFLAGS="-Ofast" --disable-assembly --with-crypto --with-curl | |
| RUN cd cpuminer-multi && make | |
| WORKDIR /cpuminer-multi | |
| ENTRYPOINT ["./cpuminer"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment