-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
43 lines (35 loc) · 1.12 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
SHELL = /bin/bash
build:
docker build -f Dockerfile --tag geotiff-benchmark .
shell:
docker run \
--name geotiff-benchmark \
--privileged \
--volume $(shell pwd)/:/data \
--rm \
-it \
geotiff-benchmark /bin/bash
test:
docker run \
--name geotiff-benchmark \
--privileged \
--rm \
-it \
geotiff-benchmark /bin/bash -c "/usr/bin/python3 /usr/local/geotiff-benchmark-master/gtiff_benchmark.py --config /usr/local/geotiff-benchmark-master/config-minimal.ini --repetitions 1"
benchmark:
docker run \
--name geotiff-benchmark \
--privileged \
--rm \
-it \
geotiff-benchmark /bin/bash -c "/usr/bin/python3 /usr/local/geotiff-benchmark-master/gtiff_benchmark.py --config /usr/local/geotiff-benchmark-master/config.ini --repetitions 10"
lerc:
docker run \
--name geotiff-benchmark \
--privileged \
--rm \
-it \
geotiff-benchmark /bin/bash -c "/usr/bin/python3 /usr/local/geotiff-benchmark-master/gtiff_benchmark.py --config /usr/local/geotiff-benchmark-master/config-lerc.ini --repetitions 1"
clean:
docker stop geotiff-benchmark
docker rm geotiff-benchmark