Created
October 17, 2016 09:41
-
-
Save 6ea86b96/f288549fecfa455945fbb639a5ae1cab to your computer and use it in GitHub Desktop.
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
# | |
# 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 | |
# | |
# | |
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