mirror of
https://github.com/metal3d/docker-xmrig.git
synced 2024-09-11 13:15:29 +03:00
9 lines
207 B
Makefile
9 lines
207 B
Makefile
|
VERSION=3.2.0
|
||
|
|
||
|
build:
|
||
|
docker build -t metal3d/xmrig:$(VERSION) --build-arg VERSION=$(VERSION) .
|
||
|
docker tag metal3d/xmrig:$(VERSION) metal3d/xmrig:latest
|
||
|
|
||
|
run:
|
||
|
docker run --rm -it metal3d/xmrig:$(VERSION)
|