Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
satetsu888 committed Oct 31, 2017
1 parent bacc650 commit 7086a68
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,20 @@
# ex: docker run creack/cpuminer --url stratum+tcp://ltc.pool.com:80 --user creack.worker1 --pass abcdef
#
#
FROM ubuntu:16.04

FROM ubuntu:12.10
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 install -qqy build-essential

RUN apt-get update -qq
RUN git clone https://github.com/BitzenyCoreDevelopers/cpuminer.git

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 cd cpuminer && ./autogen.sh
RUN cd cpuminer && ./configure CFLAGS="-O3"
RUN cd cpuminer && make

RUN git clone https://github.com/pooler/cpuminer

RUN cd cpuminer && ./autogen.sh
RUN cd cpuminer && ./configure CFLAGS="-O3"
RUN cd cpuminer && make

WORKDIR /cpuminer
ENTRYPOINT ["./minerd"]
WORKDIR /cpuminer
ENTRYPOINT ["./minerd"]

0 comments on commit 7086a68

Please sign in to comment.