Created
October 9, 2017 15:47
-
-
Save NitriKx/c165edbfd3445ad5516f5aed5941977c to your computer and use it in GitHub Desktop.
Usage : docker --rm coinhive xxxxxxxxxx --username xxxxxx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:jessie | |
RUN apt-get update && apt-get install -y curl libgtk-3-0 libgconf-2-4 libpangocairo-1.0-0 chromium | |
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash | |
RUN apt-get install -y nodejs && apt-get -y clean | |
RUN mkdir -p /opt/coin-hive && cd /opt/coin-hive && npm install coin-hive | |
ENTRYPOINT ["/bin/bash", "-c", "/opt/coin-hive/node_modules/coin-hive/bin/coin-hive ${*}", "--"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment