-
Notifications
You must be signed in to change notification settings - Fork 7
/
Dockerfile
50 lines (44 loc) · 1.37 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
FROM osrf/ros:humble-desktop
# Install SO dependencies
RUN apt-get update -qq && \
apt-get install -y \
build-essential \
python3-pip -y \
--no-install-recommends terminator \
&& rm -rf /var/lib/apt/lists/*
# Install ROS dependencies
RUN apt-get update -qq && \
apt-get install -y \
ros-humble-controller-interface \
ros-humble-realtime-tools \
ros-humble-controller-manager \
ros-humble-ackermann-msgs \
ros-humble-gazebo-ros \
ros-humble-gazebo-ros-pkgs \
ros-humble-joint-state-publisher \
ros-humble-gazebo-ros2-control \
ros-humble-nav2-common \
ros-humble-nav2-bringup \
ros-humble-rqt-tf-tree \
ros-humble-tf2-tools \
ros-humble-ros2-control \
ros-humble-robot-localization \
ros-humble-foxglove-bridge \
ros-humble-diagnostic-updater \
espeak \
alsa-utils \
software-properties-common \
ffmpeg \
bluez \
portaudio19-dev \
pulseaudio-module-bluetooth \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && \
apt-get -y install libgl1-mesa-glx libgl1-mesa-dri mesa-utils && \
rm -rf /var/lib/apt/lists/*
# Install python dependencies
RUN pip install python-can
RUN pip install setuptools==58.2.0
RUN echo "source /opt/ros/humble/setup.bash" >> /root/.bashrc
RUN echo "source /root/ws/install/setup.bash" >> /root/.bashrc
RUN echo "cd /ws" >> /root/.bashrc