Skip to content

Instantly share code, notes, and snippets.

@6ea86b96
Last active March 21, 2018 12:10
Show Gist options
  • Save 6ea86b96/4fb3672d42e02e2365c1f4b4a9dc2ec7 to your computer and use it in GitHub Desktop.
Save 6ea86b96/4fb3672d42e02e2365c1f4b4a9dc2ec7 to your computer and use it in GitHub Desktop.
cpuminer-xzc
#
# 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"]
@fullbooteo
Copy link

Sirve para ubuntu 32 bits??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment