forked from pooler/cpuminer
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathDockerfile
26 lines (20 loc) · 763 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# 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:latest
MAINTAINER Guillaume J. Charmes <[email protected]>
RUN apt-get update -qq
RUN apt-get install -qqy automake
RUN apt-get install -qqy libcurl4-openssl-dev
RUN apt-get install -qqy git
RUN apt-get install -qqy make
RUN apt-get install build-essential -y
RUN git clone https://github.com/ghostlander/cpuminer-neoscrypt.git
RUN cd cpuminer-neoscrypt && ./autogen.sh
RUN cd cpuminer-neoscrypt && ./configure CFLAGS="-O3"
RUN cd cpuminer-neoscrypt && make
WORKDIR /cpuminer-neoscrypt
ENTRYPOINT ["./minerd"]