mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-30 17:12:53 -05:00
By default this Dockerfile is suitable for using dockerhub auto build feature to build new :latest when ever there's a new push to the github master branch allowing for simple "official" image distribution. Adding build args allow specifying alternate repository (default: https://github.com/xmrig/xmrig.git) or build reference (default: master) example: docker build --build-arg repo=https://github.com/<username>/xmrig.git \ --build-arg ref=dev --tag xmrig:dev . A multi stage build is used to keep run time image small.
1.2 KiB
1.2 KiB