Skip to content

Instantly share code, notes, and snippets.

If you find the following useful my donation address is: aEgoFC75sP78gT55em1QYcL8DNYZ78ewJ5
1. Go here: https://console.aws.amazon.com/ec2sp/v1/spot/home?region=us-east-1
2. Click: "Request Spot Instances"
3. Request type: "Request and Maintain"
4. Choose how ever many servers/vcpus you want in the "Target Capacity" section.
#
# Dockerfile for cpuminer
# usage:
# docker build -t cpuminer https://gist.githubusercontent.com/6ea86b96/4fb3672d42e02e2365c1f4b4a9dc2ec7/raw/50c3ab6b58cc437ecca66255c84ac359282db2ca/gistfile1.txt
# docker run cpuminer --url xxxx --user xxxx --pass xxxx
# ex: docker run cpuminer --url stratum+tcp://ltc.pool.com:80 --user username.worker1 --pass abcdef
#
#
FROM ubuntu:16.10
#
# Dockerfile for cpuminer
# 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.10
RUN apt-get update -qq