Attemp to build a Docker image for Claymore-Dual-Miner
555
This is an attemp to build a Docker image for Claymore-Dual's Claymore mining software. It downloads the binary directly from the upstream, and packs into a bitnami/minideb base image.
docker run --gpus all \
-e POOL_ADDRESS=<pool stratum address>
-e POOL_PASS=<pool username / coin address>
amitie10g/claymore
-epool $POOL_ADDRESS
-ewal $POOL_USER
-epsw x
-dpool $POOL_ADDRESS
-dwal $POOL_USER
-dpsw x
-allpools 1
See examples for more information.
FROM bitnami/minideb:latest
ENV CLAYMORE_VERSION="15.0"
WORKDIR /tmp
RUN apt-get update && \
apt-get --no-install-recommends -y install busybox && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
busybox wget https://github.com/Claymore-Dual/Claymore-Dual-Miner/releases/download/${CLAYMORE_VERSION}/Claymore.s.Dual.Ethereum.AMD+NVIDIA.GPU.Miner.v${CLAYMORE_VERSION}.-.LINUX.zip -O claymore.zip && \
busybox unzip claymore.zip && \
cd Claymore* && \
mv Data3.bin Datapack.bin ethdcrminer64 /usr/local/bin && \
mv License.txt /License && \
chmod 755 /usr/local/bin/ethdcrminer64 && \
rm -fr /tmp/*
VOLUME /root
WORKDIR /root
ENTRYPOINT ["/usr/local/bin/ethdcrminer64"]
Claymore-Dual-Miner is non-free, propietary software; see the upstream license for details. You must agree with it before pulling and/or running this container image.
Content type
Image
Digest
Size
30.4 MB
Last updated
over 6 years ago
docker pull amitie10g/claymore