Merge pull request #94 from adriano-io/dev

Modified Dockerfile and Ubuntu Version to 14.04
This commit is contained in:
pooler 2015-09-21 14:12:46 +02:00
commit 50ebd35aeb

View file

@ -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"]