cpuminer/Dockerfile

23 lines
669 B
Text
Raw Permalink Normal View History

2013-12-13 02:48:23 +01:00
#
# 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:14.04
MAINTAINER Guillaume J. Charmes <guillaume@charmes.net>
2013-12-13 02:48:23 +01:00
RUN apt-get update -qq && \
apt-get install -qqy automake libcurl4-openssl-dev git make
2013-12-13 02:48:23 +01:00
RUN git clone https://github.com/pooler/cpuminer
2013-12-13 02:48:23 +01:00
RUN cd cpuminer && \
./autogen.sh && \
./configure CFLAGS="-O3" && \
make
2013-12-13 02:48:23 +01:00
WORKDIR /cpuminer
ENTRYPOINT ["./minerd"]