generated from citros-garden/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdockerfile
49 lines (41 loc) · 1.07 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
FROM ros:humble
ENV ROS_DISTRO humble
# install utils
RUN apt-get update && DEBIAN_FRONTEND=noninteractive && apt-get install -y --no-install-recommends\
autoconf \
automake \
libtool \
make \
g++ \
unzip \
libprotobuf-dev \
wget \
openssh-server \
curl \
gnupg \
git \
build-essential \
cmake \
gdb-multiarch \
default-jre \
python3 \
python3-setuptools \
python3-pip \
python3-venv \
ros-humble-rosbridge-suite \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install ffmpeg libsm6 libgl1 libxext6 -y
RUN sudo apt-get update && apt-get install -y \
ros-$ROS_DISTRO-rosbag2-storage-mcap \
ros-$ROS_DISTRO-rosbag2 \
ros-$ROS_DISTRO-ros-base \
ros-$ROS_DISTRO-ros2bag \
ros-$ROS_DISTRO-rosbag2-transport \
&& rm -rf /var/lib/apt/lists/*
RUN pip install mcap-ros2-support gdown pandas
WORKDIR /workspaces/pendulum
COPY . .
RUN pip install citros numpy
RUN chmod +x ros2_entrypoint.sh
ENTRYPOINT ["/workspaces/pendulum/ros2_entrypoint.sh"]
CMD ["bash"]