Last active
March 21, 2018 12:10
-
-
Save 6ea86b96/4fb3672d42e02e2365c1f4b4a9dc2ec7 to your computer and use it in GitHub Desktop.
cpuminer-xzc
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
# | |
# Dockerfile for cpuminer | |
# usage: | |
# docker build -t cpuminer https://gist.githubusercontent.com/6ea86b96/4fb3672d42e02e2365c1f4b4a9dc2ec7/raw/50c3ab6b58cc437ecca66255c84ac359282db2ca/gistfile1.txt | |
# docker run cpuminer --url xxxx --user xxxx --pass xxxx | |
# ex: docker run cpuminer --url stratum+tcp://ltc.pool.com:80 --user username.worker1 --pass abcdef | |
# | |
# | |
FROM ubuntu:16.10 | |
RUN apt-get update -qq | |
RUN apt-get install -y automake \ | |
autoconf \ | |
pkg-config \ | |
libcurl4-openssl-dev \ | |
libjansson-dev \ | |
libssl-dev \ | |
libgmp-dev \ | |
gcc \ | |
g++ \ | |
git | |
RUN git clone https://github.com/ocminer/cpuminer-xzc | |
WORKDIR /cpuminer-xzc | |
RUN ./build.sh | |
ENTRYPOINT ["./cpuminer"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sirve para ubuntu 32 bits??