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>
|
||||
|
||||
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 update -qq && \
|
||||
apt-get install -qqy automake libcurl4-openssl-dev git make
|
||||
|
||||
RUN git clone https://github.com/pooler/cpuminer
|
||||
|
||||
RUN cd cpuminer && ./autogen.sh
|
||||
RUN cd cpuminer && ./configure CFLAGS="-O3"
|
||||
RUN cd cpuminer && make
|
||||
RUN cd cpuminer && \
|
||||
./autogen.sh && \
|
||||
./configure CFLAGS="-O3" && \
|
||||
make
|
||||
|
||||
WORKDIR /cpuminer
|
||||
ENTRYPOINT ["./minerd"]
|
||||
|
|
Loading…
Reference in a new issue