This commit is contained in:
22
Dockerfile
Normal file
22
Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# Dockerfile for sugarmaker
|
||||
# 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
|
||||
#
|
||||
#
|
||||
|
||||
FROM ubuntu:16.04
|
||||
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 cd sugarmaker && \
|
||||
./autogen.sh && \
|
||||
./configure CFLAGS='-O2 -fomit-frame-pointer' && \
|
||||
make
|
||||
|
||||
WORKDIR /sugarmaker
|
||||
ENTRYPOINT ["./sugarmaker"]
|
||||
Reference in New Issue
Block a user