-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
58 lines (40 loc) · 1.25 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
nav.build:
@docker build -t nav -f ./docker/Dockerfile.nav .
nav.build.xavier:
@docker build -t nav-xavier -f ./docker/Dockerfile.nav.xavier .
nav.build.mediapipe:
@docker build -t nav-mediapipe -f ./docker/Dockerfile.nav.mediapipe .
nav.create:
@(if [ ! -z ${DISPLAY} ]; then xhost +; fi)
@./docker/scripts/run.bash --volumes=./ws --name='nav'
nav.create.xavier:
@./docker/scripts/run.bash --volumes=./ws --name='nav-xavier' --xavier
nav.create.mediapipe:
@./docker/scripts/run.bash --volumes=./ws --name='nav-mediapipe' --mediapipe
nav.up:
@(if [ ! -z ${DISPLAY} ]; then xhost +; fi)
@docker start nav
make nav.up.jetson:
@docker start nav
nav.up.xavier:
@docker start nav-xavier
nav.up.mediapipe:
@docker start nav-mediapipe
nav.down:
@docker stop nav
nav.down.xavier:
@docker stop nav-xavier
nav.down.mediapipe:
@docker stop nav-mediapipe
nav.shell:
@docker exec -it --user $(shell id -u):$(shell id -g) nav bash
nav.shell.xavier:
@docker exec -it --user $(shell id -u):$(shell id -g) nav-xavier bash
nav.shell.mediapipe:
@docker exec -it --user $(shell id -u):$(shell id -g) nav-mediapipe bash
nav.remove:
@docker container rm nav
nav.remove.xavier:
@docker container rm nav-xavier
nav.remove.mediapipe:
@docker container rm nav-mediapipe