Merge pull request #94 from adriano-io/dev
Modified Dockerfile and Ubuntu Version to 14.04
This commit is contained in:
commit
50ebd35aeb
1 changed files with 11 additions and 14 deletions
17
Dockerfile
17
Dockerfile
|
@ -5,21 +5,18 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM ubuntu:12.10
|
FROM ubuntu:14.04
|
||||||
MAINTAINER Guillaume J. Charmes <guillaume@charmes.net>
|
MAINTAINER Guillaume J. Charmes <guillaume@charmes.net>
|
||||||
|
|
||||||
RUN apt-get update -qq
|
RUN apt-get update -qq && \
|
||||||
|
apt-get install -qqy automake libcurl4-openssl-dev git make
|
||||||
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 git clone https://github.com/pooler/cpuminer
|
RUN git clone https://github.com/pooler/cpuminer
|
||||||
|
|
||||||
RUN cd cpuminer && ./autogen.sh
|
RUN cd cpuminer && \
|
||||||
RUN cd cpuminer && ./configure CFLAGS="-O3"
|
./autogen.sh && \
|
||||||
RUN cd cpuminer && make
|
./configure CFLAGS="-O3" && \
|
||||||
|
make
|
||||||
|
|
||||||
WORKDIR /cpuminer
|
WORKDIR /cpuminer
|
||||||
ENTRYPOINT ["./minerd"]
|
ENTRYPOINT ["./minerd"]
|
||||||
|
|
Loading…
Reference in a new issue