This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Dockerfile for sugarmaker
|
||||
# Dockerfile for nolambocoin-miner
|
||||
# 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
|
||||
#
|
||||
@@ -11,12 +11,12 @@ MAINTAINER kanon <60179867+decryp2kanon@users.noreply.github.com>
|
||||
RUN apt-get update -qq && \
|
||||
apt-get install -qqy automake libcurl4-openssl-dev git make gcc
|
||||
|
||||
RUN git clone https://github.com/decryp2kanon/sugarmaker
|
||||
RUN git clone https://github.com/decryp2kanon/nolambocoin-miner
|
||||
|
||||
RUN cd sugarmaker && \
|
||||
RUN cd nolambocoin-miner && \
|
||||
./autogen.sh && \
|
||||
./configure CFLAGS='-O2 -fomit-frame-pointer' && \
|
||||
make
|
||||
|
||||
WORKDIR /sugarmaker
|
||||
ENTRYPOINT ["./sugarmaker"]
|
||||
WORKDIR /nolambocoin-miner
|
||||
ENTRYPOINT ["./nolambocoin-miner"]
|
||||
|
||||
Reference in New Issue
Block a user