Skip to content

Instantly share code, notes, and snippets.

@leogr
Created January 22, 2018 09:30
Show Gist options
  • Select an option

  • Save leogr/6f36b4178ff521d3f1845eca22842883 to your computer and use it in GitHub Desktop.

Select an option

Save leogr/6f36b4178ff521d3f1845eca22842883 to your computer and use it in GitHub Desktop.
cpuminer-arm64-Dockerfile
# 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