cpuminer/Dockerfile

22 lines
601 B
Text
Raw Normal View History

2013-12-13 02:48:23 +01:00
#
# Dockerfile for cpuminer
# usage: docker run lbry/cpuminer --url xxxx --user xxxx --pass xxxx
# ex: docker run lbry/cpuminer --url stratum+tcp://lbc.pool.com:80 --user worker1 --pass abcdef
2013-12-13 02:48:23 +01:00
#
#
FROM ubuntu:18.04
2013-12-13 02:48:23 +01:00
RUN apt-get update -qq && \
apt-get install -qqy automake libcurl4-openssl-dev git make gcc
2013-12-13 02:48:23 +01:00
RUN git clone https://github.com/lbryio/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"]