forked from radixdlt/mtps
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
51 lines (38 loc) · 1.53 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
REGISTRY_PREFIX ?= radixdlt/
TAG ?= latest
.PHONY: radixdlt-bitcoind
radixdlt-bitcoind:
docker build -t $(REGISTRY_PREFIX)radixdlt-bitcoind:$(TAG) -f radixdlt-bitcoind/Dockerfile ./radixdlt-bitcoind
.PHONY: radixdlt-bitcoind-push
radixdlt-bitcoind-push:
docker push $(REGISTRY_PREFIX)radixdlt-bitcoind:$(TAG)
.PHONY: millionaire-dataset-preparator
millionaire-dataset-preparator:
cd millionaire-dataset-preparator/ && \
./gradlew clean distTar --refresh-dependencies && \
docker build -t $(REGISTRY_PREFIX)millionaire-dataset-preparator:$(TAG) -f ./Dockerfile.alpine .
.PHONY: millionaire-dataset-preparator-push
millionaire-dataset-preparator-push:
docker push $(REGISTRY_PREFIX)millionaire-dataset-preparator:$(TAG)
.PHONY: explorer
explorer:
cd explorer/ && \
./gradlew clean distTar --refresh-dependencies && \
docker build -t $(REGISTRY_PREFIX)explorer:mtps-$(TAG) -f ./Dockerfile.alpine .
.PHONY: explorer-push
explorer-push:
docker push $(REGISTRY_PREFIX)explorer:mtps-$(TAG)
.PHONY: explorer-nginx
explorer-nginx:
cd explorer/nginx && \
docker build -t $(REGISTRY_PREFIX)explorer-nginx:mtps-$(TAG) -f ./Dockerfile .
.PHONY: explorer-nginx-push
explorer-nginx-push:
docker push $(REGISTRY_PREFIX)explorer-nginx:mtps-$(TAG)
.PHONY: radixdlt-shard-allocator
radixdlt-shard-allocator:
cd radixdlt-shard-allocator && \
docker build -t $(REGISTRY_PREFIX)radixdlt-shard-allocator:$(TAG) -f ./Dockerfile .
.PHONY: radixdlt-shard-allocator-push
radixdlt-shard-allocator-push:
docker push $(REGISTRY_PREFIX)radixdlt-shard-allocator:$(TAG)