15 lines
481 B
Makefile
15 lines
481 B
Makefile
MONERO_GUI_DIR_FULL_PATH=$(PWD)/monero-gui
|
|
|
|
BRANCH=master
|
|
|
|
all: monero-container monero-cmd
|
|
|
|
monero:
|
|
git clone --branch $(BRANCH) --recursive https://github.com/monero-project/monero-gui.git; true
|
|
|
|
monero-container: monero
|
|
cd monero-gui && \
|
|
docker build --tag monero:build-env-linux --build-arg THREADS=4 --file Dockerfile.linux .
|
|
|
|
monero-cmd:
|
|
docker run --rm -it -v $(MONERO_GUI_DIR_FULL_PATH):/monero-gui -w /monero-gui monero:build-env-linux sh -c 'make release-static -j4'
|