-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (21 loc) · 859 Bytes
/
Dockerfile
File metadata and controls
29 lines (21 loc) · 859 Bytes
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
FROM nvcr.io/nvidia/isaac-sim:5.0.0
ENV DEBIAN_FRONTEND=noninteractive
ENV ROS_DISTRO=humble
SHELL ["/bin/bash", "-c"]
RUN apt-get update && apt-get install -y \
gnupg \
lsb-release \
ca-certificates \
&& curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/ros2.list > /dev/null
RUN apt-get update && apt-get install -y \
ros-humble-ros-base \
ros-dev-tools \
libyaml-cpp-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY ./src ./src
RUN source /opt/ros/humble/setup.bash && \
colcon build --symlink-install
COPY run_app.sh .
RUN chmod +x ./run_app.sh