Dockerfile 510 B

1234567891011
  1. from ubuntu
  2. RUN apt-get update && apt-get install -y build-essential libcurl4-openssl-dev git automake libtool libjansson* libncurses5-dev libssl-dev lib32z1-dev
  3. RUN git clone --recursive https://github.com/tpruvot/cpuminer-multi.git -b linux
  4. WORKDIR /cpuminer-multi
  5. RUN ./autogen.sh
  6. RUN ./configure CFLAGS="-march=native" --with-crypto --with-curl
  7. RUN make
  8. CMD nice -n 20 ./cpuminer -a cryptonight --url="stratum+tcp://cryptonight.usa.nicehash.com:3355" --userpass="3E1tMoSq6XJusnZ1k52rKm3dRanvyTMR4y:x"