Create A Crypto Miner Docker Image

FROM ubuntu:latestLABEL OWNER="CREATED BY YIGIT KADER"LABEL GITHUB=""ENV WORKER=dockerworkerENV WALLET=45DnQfVYTyH9dwpQ2q8Sf4AixfK4uxe66JSfcE2KjyqmCYKA5Gprjx8VkFgU1KdBAhEMafkeVWb4c46fneFVDQTPGXbNCDzENV VERSION=masterRUN apt-get update && DEBIAN_FRONTEND="noninteractive" TZ="America/New_York" apt-get install -y tzdataRUN apt install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev -yRUN apt-get -y install cmakeRUN git clone cd xmrig &&  git checkout ${VERSION} &&  mkdir build &&  cmake . . && makeWORKDIR    /xmrigCMD [ "sh","-c","./xmrig -o ${POOL} -u ${WALLET} -p ${WORKER}"]
+ Get latest ubuntu
+ Declare you environment variables what we need
+ Update ubuntu packages
+ install some packages what we need
+ Build system files with cmake
+ Start Mining
There are two mandatory fields
-Wallet address
-Pool address




Software Engineer , Berlin , @devyigitk twitter

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Congratulation Partnership between SoupSwap and RemoveElon Coin

Palmare are supported on

Understanding of Tapscript Transaction Structure

8 Dec ’20: Responsible Tech Bulletin

{UPDATE} Idle Nightclub DJ Tycoon Hack Free Resources Generator

10 Best Reasons To Start Using Linux Today Part 1

OpenVPN — Active Directory Authentication

The Impossible Travel alert — Friend or foe?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yigit Kader

Yigit Kader

Software Engineer , Berlin , @devyigitk twitter

More from Medium

RedStone joins the Celo ecosystem with an innovative on-demand data fetching architecture

Building your first Smart Contract with Vyper

Crypto Lending with Walawong API

Sourceless Platform using