-
Notifications
You must be signed in to change notification settings - Fork 13
/
Dockerfile
56 lines (51 loc) · 1.26 KB
/
Dockerfile
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
FROM python:3.9-slim-bullseye
RUN apt update && apt install -y nmap
# Create default user folder
RUN mkdir -p /home/pi
# Install dvl service
COPY dvl-a50 /home/pi/dvl-a50
RUN cd /home/pi/dvl-a50 && pip3 install .
LABEL version="1.0.7"
LABEL permissions='\
{\
"ExposedPorts": {\
"9001/tcp": {}\
},\
"HostConfig": {\
"Binds":["/root/.config:/root/.config"],\
"ExtraHosts": [\
"host.docker.internal:host-gateway"\
],\
"PortBindings": {\
"9001/tcp": [\
{\
"HostPort": ""\
}\
]\
}\
}\
}'
LABEL authors='[\
{\
"name": "Willian Galvani",\
"email": "[email protected]"\
}\
]'
LABEL company='{\
"about": "",\
"name": "Blue Robotics",\
"email": "[email protected]"\
}'
LABEL type="device-integration"
LABEL tags='[\
"positioning",\
"navigation",\
"doppler-velocity-log"\
]'
LABEL readme='https://raw.githubusercontent.com/bluerobotics/BlueOS-Water-Linked-DVL/{tag}/README.md'
LABEL links='{\
"website": "https://github.com/bluerobotics/BlueOS-Water-Linked-DVL",\
"support": "https://github.com/bluerobotics/BlueOS-Water-Linked-DVL/issues"\
}'
LABEL requirements="core >= 1.1"
ENTRYPOINT /home/pi/dvl-a50/main.py