dockerfiles/monero/Makefile

20 lines
362 B
Makefile
Raw Normal View History

2021-05-18 15:48:49 +02:00
USERNAME = rilla
IMG_NAME = monero
.PHONY: build build-nc
hw=$(shell uname -m)
ifeq ($(hw), x86_64)
ARCH=x64
else ifeq ($(hw), aarch64)
ARCH=armv8
else
ARCH=$(hw)
endif
build: Dockerfile
docker build -t $(USERNAME)/$(IMG_NAME) --build-arg ARCH=$(ARCH) .
build-nc: Dockerfile
docker build --no-cache -t $(USERNAME)/$(IMG_NAME) --build-arg ARCH=$(ARCH) .