-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
59 lines (43 loc) · 1.36 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
50
51
52
53
54
55
56
57
58
59
cpu_cryptonight="sonm/cpu-cryptonight:latest"
sysbench_image="sonm/cpu-sysbench:latest"
dumb_image="sonm/dumb-bench:latest"
net_image="sonm/net-bandwidth:latest"
gpu_eth_image="sonm/gpu-eth-hashrate:latest"
gpu_cash_image="sonm/gpu-cash-hashrate:latest"
gpu_redshift="sonm/gpu-redshift:latest"
all: sysbench net gpu-eth gpu-cash redshift
dumb: build/dumb push/dumb
sysbench: build/sysbench push/sysbench
cpu-cryptonight: build/cpu-cryptonight push/cpu-cryptonight
net: build/net push/net
gpu-eth: build/gpu-eth push/gpu-eth
gpu-cash: build/gpu-cash push/gpu-cash
redshift: build/redshift push/redshift
build/sysbench:
docker build -t ${sysbench_image} ./cpu-sysbench/
push/sysbench:
docker push ${sysbench_image}
build/dumb:
docker build -t ${dumb_image} ./dumb-bench/
push/dumb:
docker push ${dumb_image}
build/net:
docker build -t ${net_image} ./net-speedtest/
push/net:
docker push ${net_image}
build/gpu-eth:
docker build -t ${gpu_eth_image} ./gpu-eth-hashrate/
push/gpu-eth:
docker push ${gpu_eth_image}
build/gpu-cash:
docker build -t ${gpu_cash_image} ./gpu-cash-hashrate/
push/gpu-cash:
docker push ${gpu_cash_image}
build/redshift:
docker build -t ${gpu_redshift} ./gpu-redshift/
push/redshift:
docker push ${gpu_redshift}
build/cpu-cryptonight:
docker build -t ${cpu_cryptonight} ./cpu-cryptonight/
push/cpu-cryptonight:
docker push ${cpu_cryptonight}