-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
52 lines (45 loc) · 1.31 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
FROM arm32v7/ros:noetic-robot
RUN apt-get update && apt-get install -q -y --no-install-recommends \
tmux \
ros-${ROS_DISTRO}-mavros ros-${ROS_DISTRO}-mavros-extras ros-${ROS_DISTRO}-mavros-msgs \
ros-${ROS_DISTRO}-rosbridge-server
RUN wget https://raw.githubusercontent.com/mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh
RUN sudo bash ./install_geographiclib_datasets.sh
RUN apt-get install -y nginx wget netcat
ADD files/install-ttyd.sh /install-ttyd.sh
RUN bash /install-ttyd.sh && rm /install-ttyd.sh
COPY files/tmux.conf /etc/tmux.conf
RUN mkdir -p /site
COPY files/register_service /site/register_service
COPY files/nginx.conf /etc/nginx/nginx.conf
ADD files/start.sh /start.sh
# Add docker configuration
LABEL version="0.0.1"
LABEL permissions='{\
"NetworkMode": "host",\
"HostConfig": {\
"Binds": [\
"/dev:/dev:rw"\
],\
"Privileged": true,\
"NetworkMode": "host"\
}\
}'
LABEL authors='[\
{\
"name": "Patrick José Pereira",\
"email": "[email protected]"\
}\
]'
LABEL company='{\
"about": "",\
"name": "Blue Robotics",\
"email": "[email protected]"\
}'
LABEL readme="https://raw.githubusercontent.com/patrickelectric/blueos-ros/master/README.md"
LABEL type="other"
LABEL tags='[\
"ros",\
"robot"\
]'
ENTRYPOINT [ "/start.sh" ]